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
This commit is contained in:
hellofromTonya 2021-09-07 16:57:58 +00:00
parent 5a7eca9a0e
commit 213ce0c7ea
9 changed files with 9 additions and 9 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.