Make WordPress Core


Ignore:
Timestamp:
09/07/2021 04:56:34 PM (3 years ago)
Author:
hellofromTonya
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r51728 r51734  
    12361236     *
    12371237     * @since 4.3.0
    1238      * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named param.
     1238     * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support.
    12391239     *
    12401240     * @param WP_Post $item        The current WP_Post object.
Note: See TracChangeset for help on using the changeset viewer.