Move SportsPress to top-level page

This commit is contained in:
Brian Miyaji
2014-04-10 13:24:22 +10:00
parent 6e1f8e88e6
commit c9709948ce
22 changed files with 127 additions and 88 deletions

View File

@@ -76,7 +76,7 @@ class SP_Admin_Notices {
$screen = get_current_screen();
// If we have just installed, show a message with the install pages button
if ( get_option( '_sp_needs_welcome' ) == 1 && $screen->id != 'settings_page_sportspress' ) {
if ( get_option( '_sp_needs_welcome' ) == 1 && $screen->id != 'toplevel_page_sportspress' ) {
include( 'views/html-notice-install.php' );
}
}