diff -r c7c34916027a -r 177826044cd9 wp/wp-includes/customize/class-wp-customize-partial.php --- a/wp/wp-includes/customize/class-wp-customize-partial.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-includes/customize/class-wp-customize-partial.php Mon Oct 14 18:28:13 2019 +0200 @@ -159,7 +159,7 @@ // Process settings. if ( ! isset( $this->settings ) ) { $this->settings = array( $id ); - } else if ( is_string( $this->settings ) ) { + } elseif ( is_string( $this->settings ) ) { $this->settings = array( $this->settings ); } @@ -201,7 +201,7 @@ if ( ! empty( $this->render_callback ) ) { ob_start(); $return_render = call_user_func( $this->render_callback, $this, $container_context ); - $ob_render = ob_get_clean(); + $ob_render = ob_get_clean(); if ( null !== $return_render && '' !== $ob_render ) { _doing_it_wrong( __FUNCTION__, __( 'Partial render must echo the content or return the content string (or array), but not both.' ), '4.5.0' );