Skip to content

Commit d0efb19

Browse files
committed
Removed singleton static instance variable. Settings fields to protected.
For #56
1 parent 67899cd commit d0efb19

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/class.settings-api.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,14 @@ class WeDevs_Settings_API {
1717
*
1818
* @var array
1919
*/
20-
private $settings_sections = array();
20+
protected $settings_sections = array();
2121

2222
/**
2323
* Settings fields array
2424
*
2525
* @var array
2626
*/
27-
private $settings_fields = array();
28-
29-
/**
30-
* Singleton instance
31-
*
32-
* @var object
33-
*/
34-
private static $_instance;
27+
protected $settings_fields = array();
3528

3629
public function __construct() {
3730
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );

0 commit comments

Comments
 (0)