mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-06 09:19:04 +00:00
Docs: Remove unnecessary variables names from @return tags.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1419,7 +1419,7 @@ function _wp_privacy_settings_filter_draft_page_titles( $title, $page ) {
|
||||
* @since 5.1.0
|
||||
* @since 5.1.1 Added the {@see 'wp_is_php_version_acceptable'} filter.
|
||||
*
|
||||
* @return array|false $response Array of PHP version data. False on failure.
|
||||
* @return array|false Array of PHP version data. False on failure.
|
||||
*/
|
||||
function wp_check_php_version() {
|
||||
$version = phpversion();
|
||||
|
||||
@@ -1023,7 +1023,7 @@ function _wp_nav_menu_meta_box_object( $object = null ) {
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param int $menu_id Optional. The ID of the menu to format. Default 0.
|
||||
* @return string|WP_Error $output The menu formatted to edit or error object on failure.
|
||||
* @return string|WP_Error The menu formatted to edit or error object on failure.
|
||||
*/
|
||||
function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
|
||||
$menu = wp_get_nav_menu_object( $menu_id );
|
||||
|
||||
@@ -40,8 +40,8 @@ function _wp_privacy_resend_request( $request_id ) {
|
||||
* @since 4.9.6
|
||||
* @access private
|
||||
*
|
||||
* @param int $request_id Request ID.
|
||||
* @return int|WP_Error $result Request ID on success or WP_Error.
|
||||
* @param int $request_id Request ID.
|
||||
* @return int|WP_Error Request ID on success, or a WP_Error on failure.
|
||||
*/
|
||||
function _wp_privacy_completed_request( $request_id ) {
|
||||
// Get the request.
|
||||
@@ -233,9 +233,9 @@ function _wp_personal_data_cleanup_requests() {
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* @param string $group_id The group identifier.
|
||||
* @param int $groups_count The number of all groups
|
||||
* @return string $group_html The HTML for this group and its items.
|
||||
* @param string $group_id The group identifier.
|
||||
* @param int $groups_count The number of all groups
|
||||
* @return string The HTML for this group and its items.
|
||||
*/
|
||||
function wp_privacy_generate_personal_data_export_group_html( $group_data, $group_id = '', $groups_count = 1 ) {
|
||||
$group_id_attr = sanitize_title_with_dashes( $group_data['group_label'] . '-' . $group_id );
|
||||
|
||||
Reference in New Issue
Block a user