Remove an unnecessary initialization of $description due to the else condition in get_the_archive_description().

See [40976]. See #38487.


git-svn-id: https://develop.svn.wordpress.org/trunk@40977 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2017-07-01 05:18:57 +00:00
parent 336d718bfc
commit 2744e29fd3

View File

@@ -1551,8 +1551,6 @@ function the_archive_description( $before = '', $after = '' ) {
* @return string Archive description.
*/
function get_the_archive_description() {
$description = '';
if ( is_author() ) {
$description = get_the_author_meta( 'description' );
} elseif ( is_post_type_archive() ) {