PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | includes/classes/REST/Sync.php +2 -4 5.0.05.3.5 View file →
@@ -176,12 +176,11 @@
176 176
177 177 /**
178 178 * Get the status of a sync in progress.
179 179 *
180 - * @param \WP_REST_Request $request Full details about the request.
181 180 * @return void
182 181 */
183 - public function get_sync_status( \WP_REST_Request $request ) {
182 + public function get_sync_status() {
184 183 nocache_headers();
185 184
186 185 $index_meta = Utils\get_indexing_status();
187 186
@@ -210,12 +209,11 @@
210 209
211 210 /**
212 211 * Cancel a sync in progress.
213 212 *
214 - * @param \WP_REST_Request $request Full details about the request.
215 213 * @return void
216 214 */
217 - public function cancel_sync( \WP_REST_Request $request ) {
215 + public function cancel_sync() {
218 216 nocache_headers();
219 217
220 218 $index_meta = Utils\get_indexing_status();
221 219