[wp-trac] [WordPress Trac] #51461: Update WordPress packages

WordPress Trac noreply at wordpress.org
Tue Oct 13 22:07:41 UTC 2020


#51461: Update WordPress packages
-------------------------------------+-------------------------------
 Reporter:  isabel_brison            |       Owner:  jorgefilipecosta
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.6
Component:  Editor                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:6 ocean90]:
 > Is there a reason why an `array.php` file was introduced for just one
 function? I think the function should be moved into wp-
 includes/functions.php instead.

 Yes, I had the same thought here. We already have a couple of array
 functions in `wp-includes/functions.php`:
 * `wp_array_slice_assoc()`
 * `wp_is_numeric_array()`

 It makes sense to move `wp_array_get()` there as well.

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


More information about the wp-trac mailing list