[wp-trac] [WordPress Trac] #43514: `get_pages()` DB query result not cached if nothing found

WordPress Trac noreply at wordpress.org
Mon Jan 14 23:26:25 UTC 2019


#43514: `get_pages()` DB query result not cached if nothing found
--------------------------------------+---------------------
 Reporter:  flixos90                  |       Owner:  pento
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.1
Component:  Query                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44587" 44587]:
 {{{
 #!CommitTicketReference repository="" revision="44587"
 Query: Cache the result when `get_pages()` doesn't find anything in the
 database.

 Props flixos90, soulseekah.
 Fixes #43514.
 }}}

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


More information about the wp-trac mailing list