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:
Ryan Boren 2008-10-26 17:21:04 +00:00
parent 0d090d27e0
commit 9e29d95645
1 changed files with 1 additions and 1 deletions

View File

@ -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>
<?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">