wip
This commit is contained in:
@@ -36,7 +36,7 @@ class WPSEO_Admin_Utils {
|
||||
* @return string The activation URL. Empty string if the current user doesn't have the proper capabilities.
|
||||
*/
|
||||
public static function get_activation_url( $slug ) {
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'activate_plugins' ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user