Don't show screen options for plugin pages. fixes #7970
git-svn-id: http://svn.automattic.com/wordpress/trunk@9359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ef93d9391
commit
63d66e8d75
|
@ -80,7 +80,7 @@ if ( '' == $blog_name )
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<img id="logo50" src="images/wp-logo.gif" alt="" /> <h1><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?></a>
|
<img id="logo50" src="images/wp-logo.gif" alt="" /> <h1><a href="<?php echo trailingslashit( get_bloginfo('url') ); ?>" title="<?php _e('Visit site') ?>"><?php echo $blog_name ?></a>
|
||||||
<?php if ( in_array( $pagenow, $settings_pages ) ) { ?>
|
<?php if ( false === strpos($_SERVER['REQUEST_URI'], 'page=') && in_array( $pagenow, $settings_pages ) ) { ?>
|
||||||
|
|
||||||
<span id="screen-options-link-wrap" class="hide-if-no-js screen-options-closed">
|
<span id="screen-options-link-wrap" class="hide-if-no-js screen-options-closed">
|
||||||
<span id="screen-options">
|
<span id="screen-options">
|
||||||
|
|
Loading…
Reference in New Issue