Make WordPress Core

Changeset 20560


Ignore:
Timestamp:
04/21/2012 09:23:27 PM (13 years ago)
Author:
nacin
Message:

Issue a 'This theme is broken' error (when applicable) on the theme editor. see #20103.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r20559 r20560  
    159159<br class="clear" />
    160160</div>
     161<?php
     162if ( $theme->errors() )
     163    echo '<div class="error"><p><strong>' . __( 'This theme is broken.' ) . '</strong> ' . $theme->errors()->get_error_message() . '</p></div>';
     164?>
    161165    <div id="templateside">
    162166<?php
Note: See TracChangeset for help on using the changeset viewer.