[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:15:38 UTC 2015


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

Comment (by SergeyBiryukov):

 Replying to [comment:2 jdgrimes]:
 > There are quite a few other places in core using `array_shift()`. Not
 all of these are subject to huge arrays, but I think they should probably
 be reviewed.

 Created #31259 and #31260 for other instances in core and bundled themes.

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


More information about the wp-trac mailing list