From 213ce0c7eacc198870612111336d534333fa7953 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Tue, 7 Sep 2021 16:57:58 +0000 Subject: [PATCH] Code Modernization: Improve `@since` message in `WP_List_Table::column_default()`. Improves the `@since` message to more clearly specify the reason for this change" for PHP 8 named parameter support. Follow-up to [51728]. Props jrf. See #51553. Built from https://develop.svn.wordpress.org/trunk@51734 git-svn-id: http://core.svn.wordpress.org/trunk@51342 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-comments-list-table.php | 2 +- wp-admin/includes/class-wp-links-list-table.php | 2 +- wp-admin/includes/class-wp-media-list-table.php | 2 +- wp-admin/includes/class-wp-ms-sites-list-table.php | 2 +- wp-admin/includes/class-wp-ms-themes-list-table.php | 2 +- wp-admin/includes/class-wp-ms-users-list-table.php | 2 +- wp-admin/includes/class-wp-posts-list-table.php | 2 +- wp-admin/includes/class-wp-terms-list-table.php | 2 +- wp-includes/version.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index a027e800cd..c4cc308b3e 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -1047,7 +1047,7 @@ class WP_Comments_List_Table extends WP_List_Table { } /** - * @since 5.9.0 Renamed `$comment` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$comment` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_Comment $item The comment object. * @param string $column_name The custom column's name. diff --git a/wp-admin/includes/class-wp-links-list-table.php b/wp-admin/includes/class-wp-links-list-table.php index 60ba8ed778..21d4724e62 100644 --- a/wp-admin/includes/class-wp-links-list-table.php +++ b/wp-admin/includes/class-wp-links-list-table.php @@ -279,7 +279,7 @@ class WP_Links_List_Table extends WP_List_Table { * Handles the default column output. * * @since 4.3.0 - * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support. * * @param object $item Link object. * @param string $column_name Current column name. diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index 6c0a499001..c3013c84db 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/wp-admin/includes/class-wp-media-list-table.php @@ -594,7 +594,7 @@ class WP_Media_List_Table extends WP_List_Table { * Handles output for the default column. * * @since 4.3.0 - * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_Post $item The current WP_Post object. * @param string $column_name Current column name. diff --git a/wp-admin/includes/class-wp-ms-sites-list-table.php b/wp-admin/includes/class-wp-ms-sites-list-table.php index 02f7938ead..a95a971f49 100644 --- a/wp-admin/includes/class-wp-ms-sites-list-table.php +++ b/wp-admin/includes/class-wp-ms-sites-list-table.php @@ -560,7 +560,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table { * Handles output for the default column. * * @since 4.3.0 - * @since 5.9.0 Renamed `$blog` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$blog` to `$item` to match parent class for PHP 8 named parameter support. * * @param array $item Current site. * @param string $column_name Current column name. diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index d4ad43df57..5336f8d932 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -855,7 +855,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table { * Handles default column output. * * @since 4.3.0 - * @since 5.9.0 Renamed `$theme` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$theme` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_Theme $item The current WP_Theme object. * @param string $column_name The current column name. diff --git a/wp-admin/includes/class-wp-ms-users-list-table.php b/wp-admin/includes/class-wp-ms-users-list-table.php index 825f8e86ef..20e1fc1c33 100644 --- a/wp-admin/includes/class-wp-ms-users-list-table.php +++ b/wp-admin/includes/class-wp-ms-users-list-table.php @@ -442,7 +442,7 @@ class WP_MS_Users_List_Table extends WP_List_Table { * Handles the default column output. * * @since 4.3.0 - * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_User $item The current WP_User object. * @param string $column_name The current column name. diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 9b3a03b1c0..113f7e9f93 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -1235,7 +1235,7 @@ class WP_Posts_List_Table extends WP_List_Table { * Handles the default column output. * * @since 4.3.0 - * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_Post $item The current WP_Post object. * @param string $column_name The current column name. diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php index ef4b37ee4d..ab6e135cc3 100644 --- a/wp-admin/includes/class-wp-terms-list-table.php +++ b/wp-admin/includes/class-wp-terms-list-table.php @@ -620,7 +620,7 @@ class WP_Terms_List_Table extends WP_List_Table { } /** - * @since 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named param. + * @since 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_Term $item Term object. * @param string $column_name Name of the column. diff --git a/wp-includes/version.php b/wp-includes/version.php index 2ab6398df7..eabff0c86c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51733'; +$wp_version = '5.9-alpha-51734'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.