diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 5f432c7a41..acc3d611a6 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1436,7 +1436,7 @@ function wp_title( $sep = '»', $display = true, $seplocation = '' ) { * * @param string[] $title_array Array of parts of the page title. */ - $title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title ) ); + $title_array = apply_filters( 'wp_title_parts', ! empty( $title ) ? explode( $t_sep, $title ) : array() ); // Determines position of the separator and direction of the breadcrumb. if ( 'right' === $seplocation ) { // Separator on right, so reverse the order. diff --git a/wp-includes/version.php b/wp-includes/version.php index 03a9b096e4..ae6eec3724 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta2-61107'; +$wp_version = '6.9-beta2-61108'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.