PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.5.2
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.5.2
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/Profile.php +0 -9 3.7.03.5.2 View file →
@@ -65,15 +65,8 @@
65 65 $meta['reviews'] = $_reviews;
66 66 }
67 67
68 68 if ( ! empty( $response['user'] ) && is_array( $response['user'] ) ) {
69 - /**
70 - * The cloud API key must never be persisted here or sent to the client.
71 - * Under a global login this key belongs to the admin, while any user with
72 - * `delete_posts` can reach this endpoint. Login and SignUp already drop it.
73 - */
74 - unset( $response['user']['api_key'] );
75 -
76 69 $response['user']['site_url'] = base64_encode( home_url( '/' ) );
77 70 $response['user']['ip'] = Helper::get_ip();
78 71 }
79 72
@@ -151,13 +144,11 @@
151 144 public function get_my_purchased_items() {
152 145 $page = $this->get_param( 'page', 1, 'intval' );
153 146 $per_page = $this->get_param( 'per_page', 10, 'intval' );
154 147 $_all = $this->get_param( 'all', false );
155 - $platform = $this->get_param( 'platform', 'elementor' );
156 148
157 149 $funcArgs = [
158 150 'api_key' => $this->api_key,
159 - 'platform' => $platform,
160 151 'page' => $page,
161 152 'per_page' => $per_page
162 153 ];
163 154