[wp-trac] [WordPress Trac] #56689: Use WP_Query in get_page_by_path

WordPress Trac noreply at wordpress.org
Thu Dec 8 14:39:20 UTC 2022


#56689: Use WP_Query in get_page_by_path
-------------------------------------+---------------------------
 Reporter:  spacedmonkey             |       Owner:  spacedmonkey
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.2
Component:  Query                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:  performance
-------------------------------------+---------------------------
Changes (by spacedmonkey):

 * keywords:  has-patch => needs-testing has-patch


Comment:

 Tests to test.

 Create a page.
 Create a sub page of first page.
 Create a sub sub page on second page.

 Load page of sub sub page on FE end. See all parent posts primed and less
 database queries.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56689#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list