[wp-trac] [WordPress Trac] #16745: doubled replace in setup_postdata

WordPress Trac noreply at wordpress.org
Fri Aug 9 08:22:36 UTC 2013


#16745: doubled replace in setup_postdata
-------------------------+----------------------
 Reporter:  hakre        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Although the first case IS covered by the 2nd case running, and then the
 3rd case running, the current code is much more explicit in what it's
 doing.

 Since there's no significant performance alterations between using
 multiple calls, vs, an array notation, lets keep it explicitly ordered.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/16745#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list