auto-patch 700-dev-dev01-2024-06-01T22_54_01

This commit is contained in:
root
2024-06-01 22:54:01 +00:00
parent a961f203c3
commit 72a1eb6e5a
123 changed files with 794 additions and 4518 deletions

View File

@@ -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 );
}
}