Make WordPress Core

Changeset 53057


Ignore:
Timestamp:
04/04/2022 01:23:55 AM (3 months ago)
Author:
peterwilsoncc
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.