auto-patch 700-dev-dev01-2024-06-01T22_54_01
This commit is contained in:
@@ -327,34 +327,4 @@ class Social_Profiles_Helper {
|
||||
|
||||
return [ $twitter_setting ];
|
||||
}
|
||||
|
||||
/* DEPRECATED METHODS */
|
||||
|
||||
/**
|
||||
* Gets the person social profile fields supported by us after WP filtering.
|
||||
*
|
||||
* @deprecated 20.1
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @return array The supported social profile fields.
|
||||
*/
|
||||
public function get_supported_person_social_profile_fields() {
|
||||
\_deprecated_function( __METHOD__, 'Yoast SEO 20.1' );
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the current user has the capability to edit a specific user.
|
||||
*
|
||||
* @deprecated 20.2
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param int $person_id The id of the person to edit.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function can_edit_profile( $person_id ) {
|
||||
\_deprecated_function( __METHOD__, 'Yoast SEO 20.2' );
|
||||
return \current_user_can( 'edit_user', $person_id );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user