Docs: Add a missing type to the return description for `map_deep()`.
Props sebastianpisula. See #35700. Built from https://develop.svn.wordpress.org/trunk@36488 git-svn-id: http://core.svn.wordpress.org/trunk@36455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e60f8b6f8
commit
c1b837b47f
|
@ -3888,7 +3888,7 @@ function sanitize_option( $option, $value ) {
|
|||
*
|
||||
* @param mixed $value The array, object, or scalar.
|
||||
* @param callable $callback The function to map onto $value.
|
||||
* @return The value with the callback applied to all non-arrays and non-objects inside it.
|
||||
* @return mixed The value with the callback applied to all non-arrays and non-objects inside it.
|
||||
*/
|
||||
function map_deep( $value, $callback ) {
|
||||
if ( is_array( $value ) ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36487';
|
||||
$wp_version = '4.5-alpha-36488';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue