PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.5.3
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.5.3
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 +0 -9 3.7.03.5.3 View file →
@@ -228,12 +228,8 @@
228 228 if ( $global_user_id !== $this->utils( 'options' )->current_user_id() ) {
229 229 $global_user = $this->utils( 'options' )->get( 'user', false, $global_user_id );
230 230
231 231 if ( ! empty( $global_user ) ) {
232 - if ( is_array( $global_user ) ) {
233 - unset( $global_user['api_key'] );
234 - }
235 -
236 232 $global_user['meta'] = $this->user_meta();
237 233 }
238 234 }
239 235
@@ -247,13 +243,8 @@
247 243
248 244 $_user = ( new static )->utils( 'options' )->get( 'user', null );
249 245
250 246 if ( ! is_null( $_user ) ) {
251 - // Profiles stored before 3.7.1 may still carry the cloud API key.
252 - if ( is_array( $_user ) ) {
253 - unset( $_user['api_key'] );
254 - }
255 -
256 247 $_user['meta'] = self::get_instance()->user_meta();
257 248 }
258 249
259 250 if ( empty( $_user ) ) {