[wp-trac] [WordPress Trac] #34368: WP_Site_Icon->get_post_metadata performance improvement

WordPress Trac noreply at wordpress.org
Tue Oct 20 18:22:43 UTC 2015


#34368: WP_Site_Icon->get_post_metadata performance improvement
---------------------------------------------+--------------------------
 Reporter:  ap.koponen                       |       Owner:  obenland
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.4
Component:  Administration                   |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit has-unit-tests  |     Focuses:  performance
---------------------------------------------+--------------------------
Changes (by obenland):

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


Comment:

 In [changeset:"35299"]:
 {{{
 #!CommitTicketReference repository="" revision="35299"
 Site Icon: Get site icon ID only when needed.

 Cuts down on unnecessary queries, especially in environments that rely on
 post meta a lot. Reverts [32997].

 Props ap.koponen, swissspidy.
 Fixes #34368.
 }}}

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


More information about the wp-trac mailing list