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:
parent
7ebc549cc4
commit
a5052d5bf2
@ -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’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’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
|
||||
|
Loading…
Reference in New Issue
Block a user