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

git-svn-id: https://develop.svn.wordpress.org/trunk@10032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2008-12-04 07:44:16 +00:00
parent 7ebc549cc4
commit a5052d5bf2
1 changed files with 5 additions and 5 deletions

View File

@ -34,12 +34,12 @@ if ( isset($_GET['sidebar']) && isset($wp_registered_sidebars[$_GET['sidebar']])
require_once( 'admin-header.php' );
?>
<div class="error">
<p><?php _e( 'No Sidebars Defined' ); ?></p>
</div>
<div class="wrap">
<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>
<h2><?php echo wp_specialchars( $title ); ?></h2>
<div class="error">
<p><?php _e( 'No Sidebars Defined' ); ?></p>
</div>
<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>
</div>
<?php