Make WordPress Core

Changeset 47979


Ignore:
Timestamp:
06/10/2020 06:48:46 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Themes: Ensure a broken theme name is returned properly.

Follow-up to [47966] for the 3.9 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9/src/wp-admin/themes.php

    r47966 r47979  
    252252        echo "
    253253        <tr>
    254              <td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ); ?></td>
     254             <td>" . ( $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ) ) . "</td>
    255255             <td>" . $broken_theme->errors()->get_error_message() . "</td>
    256256        </tr>";
Note: See TracChangeset for help on using the changeset viewer.