[wp-trac] [WordPress Trac] #31182: array_shift in taxonomy.php very slow on large array

WordPress Trac noreply at wordpress.org
Sat Feb 7 19:44:15 UTC 2015


#31182: array_shift in taxonomy.php very slow on large array
--------------------------+-----------------------------
 Reporter:  VolodymyrC    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Taxonomy      |     Version:  2.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31365"]:
 {{{
 #!CommitTicketReference repository="" revision="31365"
 Remove unnecessary `array_shift()` usage in `get_terms()` for better
 performance.

 props bswatson, VolodymyrC.
 fixes #31182.
 }}}

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


More information about the wp-trac mailing list