Make WordPress Core

Changeset 51734


Ignore:
Timestamp:
09/07/2021 04:56:34 PM (5 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.

Location:
trunk/src/wp-admin/includes
Files:
8 edited

Legend:

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

    r51728 r51734  
    10481048
    10491049        /**
    1050          * @since 5.9.0 Renamed `$comment` to `$item` to match parent class for PHP 8 named param.
     1050         * @since 5.9.0 Renamed `$comment` to `$item` to match parent class for PHP 8 named parameter support.
    10511051         *
    10521052         * @param WP_Comment $item        The comment object.
  • trunk/src/wp-admin/includes/class-wp-links-list-table.php

    r51728 r51734  
    280280         *
    281281         * @since 4.3.0
    282          * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named param.
     282         * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support.
    283283         *
    284284         * @param object $item        Link object.
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r51728 r51734  
    595595         *
    596596         * @since 4.3.0
    597          * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named param.
     597         * @since 5.9.0 Renamed `$post` to `$item` to match parent class for PHP 8 named parameter support.
    598598         *
    599599         * @param WP_Post $item        The current WP_Post object.
  • trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php

    r51728 r51734  
    561561         *
    562562         * @since 4.3.0
    563          * @since 5.9.0 Renamed `$blog` to `$item` to match parent class for PHP 8 named param.
     563         * @since 5.9.0 Renamed `$blog` to `$item` to match parent class for PHP 8 named parameter support.
    564564         *
    565565         * @param array  $item        Current site.
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r51728 r51734  
    856856         *
    857857         * @since 4.3.0
    858          * @since 5.9.0 Renamed `$theme` to `$item` to match parent class for PHP 8 named param.
     858         * @since 5.9.0 Renamed `$theme` to `$item` to match parent class for PHP 8 named parameter support.
    859859         *
    860860         * @param WP_Theme $item        The current WP_Theme object.
  • 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.
  • 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.
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r51728 r51734  
    621621
    622622        /**
    623          * @since 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named param.
     623         * @since 5.9.0 Renamed `$tag` to `$item` to match parent class for PHP 8 named parameter support.
    624624         *
    625625         * @param WP_Term $item        Term object.
Note: See TracChangeset for help on using the changeset viewer.