PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 2.2.13
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v2.2.13
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/API/Login.php +5 -6 3.0.42.2.13 View file →
@@ -180,12 +180,11 @@
180 180 ->remove( 'reviews' )
181 181 ->remove( 'cloud_activity' )
182 182 ->remove( 'api_key' )
183 183 ->remove( 'global_login' )
184 - ->remove( 'total_download_counts' )
185 184 ->remove( 'templates_in_clouds' );
186 185
187 - if ( $this->utils( 'options' )->who_am_i() === 'global' ) {
186 + if ( $this->utils( 'options' )->whoami() === 'global' ) {
188 187 $this->utils( 'options' )->remove_global_login();
189 188 }
190 189
191 190 $global_user_id = $this->utils( 'options' )->is_global();
@@ -201,9 +200,9 @@
201 200
202 201 return $global_user;
203 202 }
204 203
205 - public static function is_signed(): array {
204 + public static function is_signed() {
206 205 $_response = [
207 206 'status' => 'success'
208 207 ];
209 208
@@ -221,9 +220,9 @@
221 220
222 221 return $_response;
223 222 }
224 223
225 - public function user_meta( $meta = [] ): array {
224 + public function user_meta( $meta = [] ) {
226 225 $_meta = [
227 226 'link_account' => self::utils( 'options' )->link_account(),
228 227 'unlink_account' => self::utils( 'options' )->unlink_account(),
229 228 'is_globally_signed' => Login::is_globally_signed(),
@@ -236,12 +235,12 @@
236 235
237 236 return array_merge( $_meta, $meta );
238 237 }
239 238
240 - public static function is_globally_signed(): bool {
239 + public static function is_globally_signed() {
241 240 return rest_sanitize_boolean( ( new static )->utils( 'options' )->is_globally_signed() );
242 241 }
243 242
244 - public static function signed_as_global(): bool {
243 + public static function signed_as_global() {
245 244 return rest_sanitize_boolean( ( new static )->utils( 'options' )->signed_as_global() );
246 245 }
247 246 }