Fix typos and class name in setup wizard
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user