Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17025, comment 58


Ignore:
Timestamp:
06/10/2022 10:21:46 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17025, comment 58

    initial v1  
    1212 Perhaps it could be reused here, instead of the full names filter? I'm not sure the need for a new filter has been demonstrated yet. If some locales prefer to put the last name first, it seems like the string would be the way to go. It could then also be reused for the same pattern in other areas of core:
    1313  * [source:tags/6.0/src/wp-admin/includes/class-wp-ms-users-list-table.php?marks=305#L296 WP_MS_Users_List_Table::column_name()]
    14   * [source:tags/6.0/src/wp-admin/includes/class-wp-users-list-table.php?marks=571#L565 WP_MS_Users_List_Table::column_name()]
     14  * [source:tags/6.0/src/wp-admin/includes/class-wp-users-list-table.php?marks=571#L565 WP_Users_List_Table::column_name()]
    1515  * [source:tags/6.0/src/wp-includes/user.php?marks=830#L822 wp_list_users()]
    1616 As it stands, it seems a bit inconsistent to only add a filter for `wp_list_authors()` but not those other instances.