[wp-trac] [WordPress Trac] #51720: Make wp_array_get internal for now. Add tests to _wp_array_get;

WordPress Trac noreply at wordpress.org
Mon May 24 13:46:55 UTC 2021


#51720: Make wp_array_get internal for now. Add tests to _wp_array_get;
---------------------------------------------+--------------------------
 Reporter:  jorgefilipecosta                 |       Owner:  johnbillion
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.6
Component:  General                          |     Version:  5.6
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50970" 50970]:
 {{{
 #!CommitTicketReference repository="" revision="50970"
 Tests: Remove trailing commas in function calls in `_wp_array_get()`
 tests.

 This fixes parse errors on PHP 7.2 and lower versions.

 Follow-up to [49143], [49144], [49580], [50964].

 See #51461, #51720, #52625.
 }}}

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


More information about the wp-trac mailing list