WordPress.org

Make WordPress Core

Ticket #53264: 53264.diff

File 53264.diff, 724 bytes (added by thomasplevy, 5 months ago)
  • src/wp-includes/functions.php

    diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
    index fc1dd011e1..3652d1a964 100644
    a b function wp_array_slice_assoc( $array, $keys ) { 
    45934593 *             ),
    45944594 *         ),
    45954595 *     );
    4596  *     _wp_array_get( $array, array( 'a', 'b', 'c' );
     4596 *     _wp_array_get( $array, array( 'a', 'b', 'c' ) );
    45974597 *
    45984598 * @internal
    45994599 *
    function _wp_array_get( $array, $path, $default = null ) { 
    46354635 * Example usage:
    46364636 *
    46374637 *     $array = array();
    4638  *     _wp_array_set( $array, array( 'a', 'b', 'c', 1 );
     4638 *     _wp_array_set( $array, array( 'a', 'b', 'c', 1 ) );
    46394639 *
    46404640 *     $array becomes:
    46414641 *     array(