diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 2885fd4dc9..f4dfaeedc2 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1560,6 +1560,9 @@ function add_theme_support( $feature ) { break; case 'custom-logo': + if ( ! is_array( $args ) ) { + $args = array( 0 => array() ); + } $defaults = array( 'width' => null, 'height' => null, diff --git a/wp-includes/version.php b/wp-includes/version.php index 3849f8a12b..359ca8e493 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-RC1-37091'; +$wp_version = '4.5-RC1-37092'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.