diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 5ee4e20b4b..026d190108 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1565,6 +1565,8 @@ function get_the_archive_description() { // Check if a description is set. if ( isset( $post_type_obj->description ) ) { $description = $post_type_obj->description; + } else { + $description = ''; } } else { $description = term_description(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4406afd540..bf229e7cfd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40982'; +$wp_version = '4.9-alpha-40983'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.