[wp-trac] [WordPress Trac] #34564: WP_List_Table::get_column_info() inefficient
WordPress Trac
noreply at wordpress.org
Tue Aug 9 00:31:24 UTC 2022
#34564: WP_List_Table::get_column_info() inefficient
---------------------------------------------+----------------------------
Reporter: bobbingwide | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Administration | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: performance
---------------------------------------------+----------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"53868" 53868]:
{{{
#!CommitTicketReference repository="" revision="53868"
Administration: Improve performance of List Tables.
Improve the performance of `WP_List_Table::get_column_info()` by adding
the primary column to the cached header values. This reduces the number of
calls to the `WP_List_Table::get_primary_column_name()` method to once per
table in line with the other header getter functions.
Props bobbingwide, chaion07, costdev, mikeschroder, mukesh27,
peterwilsoncc, shetheliving, spacedmonkey.
Fixes #34564.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34564#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list