Fix typos and class name in setup wizard

This commit is contained in:
Brian Miyaji
2017-06-06 13:46:21 +10:00
parent 53cfe8acc7
commit 78e128bc09

View File

@@ -16,11 +16,11 @@ if ( ! defined( 'ABSPATH' ) ) {
} }
/** /**
* WC_Admin_Setup_Wizard class. * SP_Admin_Setup_Wizard class.
*/ */
class WC_Admin_Setup_Wizard { class SP_Admin_Setup_Wizard {
/** @var string Currenct Step */ /** @var string Current Step */
private $step = ''; private $step = '';
/** @var array Steps for the setup wizard */ /** @var array Steps for the setup wizard */
@@ -672,7 +672,7 @@ class WC_Admin_Setup_Wizard {
$events = get_posts( $events = get_posts(
array( array(
'post_type' => 'sp_event', 'post_type' => 'sp_event',
'posts_per_page' => 11, 'posts_per_page' => 1,
'post_status' => 'draft', 'post_status' => 'draft',
'meta_query' => array( 'meta_query' => array(
array( array(
@@ -787,4 +787,4 @@ class WC_Admin_Setup_Wizard {
} }
} }
new WC_Admin_Setup_Wizard(); new SP_Admin_Setup_Wizard();