WordPress.org

Make WordPress Core

Changeset 27876


Ignore:
Timestamp:
03/31/2014 09:12:41 PM (8 years ago)
Author:
nacin
Message:

Themes screen: Use a normal error for WP_Theme errors.

Merges [27760] to the 3.8 branch.

fixes #27235.

Location:
branches/3.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/src/wp-admin/themes.php

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