Make WordPress Core


Ignore:
Timestamp:
09/07/2021 04:56:34 PM (4 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-ms-users-list-table.php

    r51728 r51734  
    443443     *
    444444     * @since 4.3.0
    445      * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named param.
     445     * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named parameter support.
    446446     *
    447447     * @param WP_User $item        The current WP_User object.
Note: See TracChangeset for help on using the changeset viewer.