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

WordPress Trac noreply at wordpress.org
Tue Oct 20 16:40:42 UTC 2015


#34368: WP_Site_Icon->get_post_metadata performance improvement
------------------------------+--------------------------
 Reporter:  ap.koponen        |       Owner:  obenland
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+--------------------------

Comment (by ocean90):

 Replying to [comment:2 swissspidy]:
 > [attachment:34368.diff] uses strict comparison

 Be careful with strict comparison:
 {{{#!php
 <?php
 var_dump( get_option( 'site_icon' ) ); // string(4) "1785"
 }}}

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


More information about the wp-trac mailing list