Don't show screen options for plugin pages. fixes #7970
git-svn-id: https://develop.svn.wordpress.org/trunk@9359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0d090d27e0
commit
9e29d95645
@ -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
Block a user