Add activation welcome and notices close #21

This commit is contained in:
Brian Miyaji
2014-03-31 01:42:56 +11:00
parent 87e0c574f4
commit dcec47abcf
17 changed files with 540 additions and 154 deletions

View File

@@ -49,7 +49,7 @@ function sportspress_admin_notices_styles() {
if ( $screen->id != 'settings_page_sportspress' ):
if ( isset( $_REQUEST['skip_install_sportspress'] ) ):
update_option( '_sp_needs_config', $_REQUEST['_sp_needs_config'] );
update_option( '_sp_needs_welcome', $_REQUEST['_sp_needs_welcome'] );
endif;
if ( ! get_option( 'sportspress_installed' ) ):