Make WordPress Core

Changeset 48355

Timestamp:
07/06/2020 11:10:45 PM (4 years ago)
Author:
whyisjake
Message:

Bundled theme: Ensure appropriate title for author archives for that don't have posts.

Rather then displaying Author: , show Nothing Found.

Fixes #50421.

Props SGr33n, williampatton, ianbelanger, rebasaurus, priyomukul, virginienacci, audrasjb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/index.php

    r47122 r48355  
    4848            $archive_subtitle = __( 'We could not find any results for your search. You can give it another try through the search form below.', 'twentytwenty' );
    4949        }
     50
     51
    5052    } elseif ( ! is_home() ) {
    5153        $archive_title    = get_the_archive_title();
Note: See TracChangeset for help on using the changeset viewer.