[wp-trac] [WordPress Trac] #55425: Customize: Fetch presence of published pages more optimally (refactor)
WordPress Trac
noreply at wordpress.org
Mon Apr 4 01:24:11 UTC 2022
#55425: Customize: Fetch presence of published pages more optimally (refactor)
-------------------------------------+--------------------------
Reporter: nagpai | Owner: nagpai
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.0
Component: Customize | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+--------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"53057" 53057]:
{{{
#!CommitTicketReference repository="" revision="53057"
Customizer: Improve performance checking for published pages.
Improve the performance of `WP_Customize_Manager::has_published_pages()`
by limiting the database query to a single published page, down from
querying all published pages.
Props nagpai, dlh, tyxla.
Fixes #55425.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55425#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list