Make WordPress Core

Changeset 10032


Ignore:
Timestamp:
12/04/2008 07:44:16 AM (16 years ago)
Author:
markjaquith
Message:

Better display and wording for themes with no widget-enabled sidebars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r9903 r10032  
    3535?>
    3636
    37     <div class="error">
    38         <p><?php _e( 'No Sidebars Defined' ); ?></p>
    39     </div>
    40 
    4137    <div class="wrap">
    42         <p><?php _e( 'You are seeing this message because the theme you are currently using isn&#8217;t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="http://codex.wordpress.org/Widgetizing_Themes">follow these instructions</a>.' ); ?></p>
     38    <h2><?php echo wp_specialchars( $title ); ?></h2>
     39        <div class="error">
     40            <p><?php _e( 'No Sidebars Defined' ); ?></p>
     41        </div>
     42        <p><?php _e( 'The theme you are currently using isn&#8217;t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="http://codex.wordpress.org/Widgetizing_Themes">follow these instructions</a>.' ); ?></p>
    4343    </div>
    4444
Note: See TracChangeset for help on using the changeset viewer.