[wp-trac] [WordPress Trac] #36711: Add caching to get_page_by_path

WordPress Trac noreply at wordpress.org
Sat May 21 02:40:59 UTC 2016


#36711: Add caching to get_page_by_path
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Posts, Post Types                    |  Review
 Severity:  normal                               |     Version:  2.1
 Keywords:  has-patch has-unit-tests dev-        |  Resolution:
  feedback                                       |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 In [changeset:"37478"]:
 {{{
 #!CommitTicketReference repository="" revision="37478"
 Tests: Improve tests for `get_page_by_path()`.

 * Move existing test into its own file.
 * Add tests that cover most pieces of functionality.

 See #36711.
 }}}

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


More information about the wp-trac mailing list