Make WordPress Core


Ignore:
Timestamp:
03/26/2014 11:36:42 PM (11 years ago)
Author:
nacin
Message:

Themes screen: Use a normal error for WP_Theme errors.

see #27235 for trunk.

File:
1 edited

Legend:

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

    r27620 r27760  
    140140
    141141if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
    142     echo '<p class="error-message">' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p>';
     142    echo '<div class="error"><p>' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '</p></div>';
    143143}
    144144
Note: See TracChangeset for help on using the changeset viewer.