WordPress.org

Make WordPress Core

Changes between Version 2 and Version 5 of Ticket #51720


Ignore:
Timestamp:
11/11/2020 03:29:37 PM (9 months ago)
Author:
jorgefilipecosta
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51720

    • Property Summary changed from Make wp_array_get internal for now to Make wp_array_get internal for now. Add tests to _wp_array_get;
  • Ticket #51720 – Description

    v2 v5  
    11According to feedback received at #51461. This ticket contains a patch to make wp_array_get internal.
    22After more core code uses it we can decide if the function is valuable and something we want to expose or not.
     3This Patch also adds test cases and does some enhancements to the function wp_array_get to make it more similar to lodash namely the default value and the way null is handled.