General: Correct the inline code examples for `_wp_array_get()` and `_wp_array_set().

Props thomasplevy, SergeyBiryukov.
Fixes #53264.
Built from https://develop.svn.wordpress.org/trunk@51041


git-svn-id: http://core.svn.wordpress.org/trunk@50650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-05-27 19:36:59 +00:00
parent 2abc73b4cd
commit 4a7c797d92
2 changed files with 3 additions and 3 deletions

View File

@ -4593,7 +4593,7 @@ function wp_array_slice_assoc( $array, $keys ) {
* ),
* ),
* );
* _wp_array_get( $array, array( 'a', 'b', 'c' );
* _wp_array_get( $array, array( 'a', 'b', 'c' ) );
*
* @internal
*
@ -4635,7 +4635,7 @@ function _wp_array_get( $array, $path, $default = null ) {
* Example usage:
*
* $array = array();
* _wp_array_set( $array, array( 'a', 'b', 'c', 1 );
* _wp_array_set( $array, array( 'a', 'b', 'c', 1 ) );
*
* $array becomes:
* array(

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-51040';
$wp_version = '5.8-alpha-51041';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.