PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.2.5
Social Media Auto Poster – Schedule & Publish to Buffer v6.2.5
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 All 126 releases
← All changes | includes/class-wp-to-buffer.php +7 -7 6.2.06.2.5 View file →
@@ -19,9 +19,9 @@
19 19 * Holds the class object.
20 20 *
21 21 * @since 3.1.4
22 22 *
23 - * @var object
23 + * @var object|null
24 24 */
25 25 public static $instance;
26 26
27 27 /**
@@ -30,9 +30,9 @@
30 30 * @since 3.0.0
31 31 *
32 32 * @var object
33 33 */
34 - public $plugin = '';
34 + public $plugin;
35 35
36 36 /**
37 37 * Dashboard
38 38 *
@@ -39,9 +39,9 @@
39 39 * @since 3.1.4
40 40 *
41 41 * @var object
42 42 */
43 - public $dashboard = '';
43 + public $dashboard;
44 44
45 45 /**
46 46 * Classes
47 47 *
@@ -46,11 +46,11 @@
46 46 * Classes
47 47 *
48 48 * @since 3.4.9
49 49 *
50 - * @var array
50 + * @var object
51 51 */
52 - public $classes = '';
52 + public $classes;
53 53
54 54 /**
55 55 * Constructor. Acts as a bootstrap to load the rest of the plugin
56 56 *
@@ -242,9 +242,9 @@
242 242 $this->classes = new stdClass();
243 243
244 244 // Initialize required classes.
245 245 $this->classes->admin = new \WPZinc\Social\Admin( self::$instance );
246 - $this->classes->ajax = new \WPZinc\Social\AJAX( self::$instance );
246 + $this->classes->ajax = new \WPZinc\Social\Ajax( self::$instance );
247 247 $this->classes->api = new \WPZinc\Social\Buffer_API( self::$instance );
248 248 $this->classes->common = new \WPZinc\Social\Common( self::$instance );
249 249 $this->classes->cron = new \WPZinc\Social\Cron( self::$instance );
250 250 $this->classes->date = new \WPZinc\Social\Date( self::$instance );
@@ -350,9 +350,9 @@
350 350 * @return object Class.
351 351 */
352 352 public static function get_instance() {
353 353
354 - if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) {
354 + if ( ! self::$instance instanceof self ) {
355 355 self::$instance = new self();
356 356 }
357 357
358 358 return self::$instance;