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:
Drew Jaynes 2016-02-07 00:15:27 +00:00
parent 6e60f8b6f8
commit c1b837b47f
2 changed files with 2 additions and 2 deletions

View File

@ -3888,7 +3888,7 @@ function sanitize_option( $option, $value ) {
* *
* @param mixed $value The array, object, or scalar. * @param mixed $value The array, object, or scalar.
* @param callable $callback The function to map onto $value. * @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 ) { function map_deep( $value, $callback ) {
if ( is_array( $value ) ) { if ( is_array( $value ) ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.