PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs / 2.6.6
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs v2.6.6
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
← All changes | freemius/includes/entities/class-fs-user.php +6 -12 1.3.3 → 2.6.6 View file →
@@ -30,15 +30,8 @@
30 30 * @var bool
31 31 */
32 32 public $is_verified;
33 33 /**
34 - * @author Leo Fajardo (@leorw)
35 - * @since 2.3.0
36 - *
37 - * @var bool
38 - */
39 - public $is_beta;
40 - /**
41 34 * @var string|null
42 35 */
43 36 public $customer_id;
44 37 /**
@@ -64,16 +57,17 @@
64 57 }
65 58
66 59 /**
67 60 * @author Leo Fajardo (@leorw)
68 - * @since 2.3.0
61 + * @since 2.4.2
69 62 *
70 63 * @return bool
71 64 */
72 - function is_beta() {
73 - return ( isset( $this->is_beta ) && true === $this->is_beta );
74 - }
65 + function is_beta() {
66 + // Return `false` since this is just for backward compatibility.
67 + return false;
68 + }
75 69
76 - static function get_type() {
70 + static function get_type() {
77 71 return 'user';
78 72 }
79 73 }