Make WordPress Core

Changeset 47976 for branches/3.7/src


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

Themes: Ensure a broken theme name is returned properly.

Follow-up to [47962] for the 3.7 branch.

File:
1 edited

Legend:

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

    r47962 r47976  
    309309        echo "
    310310        <tr>
    311              <td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ); ?></td>
     311             <td>" . ( $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ) ) . "</td>
    312312             <td>" . $broken_theme->errors()->get_error_message() . "</td>
    313313        </tr>";
Note: See TracChangeset for help on using the changeset viewer.