Rename maybe_enable_setup_wizard to maybe_set_activation_transients

This commit is contained in:
Jonathan Sadowski 2020-09-30 17:27:43 -05:00
parent 83238ec1d7
commit e540b4820e
1 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@ class WC_Install {
self::create_cron_jobs(); self::create_cron_jobs();
self::create_files(); self::create_files();
self::maybe_create_pages(); self::maybe_create_pages();
self::maybe_enable_setup_wizard(); self::maybe_set_activation_transients();
self::update_wc_version(); self::update_wc_version();
self::maybe_update_db_version(); self::maybe_update_db_version();
@ -405,11 +405,11 @@ class WC_Install {
} }
/** /**
* See if we need the setup wizard or not. * See if we need to set redirect transients for activation or not.
* *
* @since 4.6.0 * @since 4.6.0
*/ */
private static function maybe_enable_setup_wizard() { private static function maybe_set_activation_transients() {
if ( self::is_new_install() ) { if ( self::is_new_install() ) {
set_transient( '_wc_activation_redirect', 1, 30 ); set_transient( '_wc_activation_redirect', 1, 30 );
} }