PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.2
Elementor Website Builder – more than just a page builder v3.26.2
4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 All 454 releases
← All changes | modules/history/revisions-manager.php +3 -3 4.1.0-beta2 → 3.26.2 View file →
@@ -246,9 +246,9 @@
246 246 *
247 247 * @param $data
248 248 *
249 249 * @return array
250 - * @throws \Exception If the revision ID is not set.
250 + * @throws \Exception
251 251 */
252 252 public static function ajax_get_revision_data( array $data ) {
253 253 if ( ! isset( $data['id'] ) ) {
254 254 throw new \Exception( 'You must set the revision ID.' );
@@ -277,9 +277,9 @@
277 277 /**
278 278 * @since 2.0.0
279 279 * @access public
280 280 * @static
281 - * @param array $return_data
281 + * @param array $return_data
282 282 * @param Document $document
283 283 *
284 284 * @return array
285 285 */
@@ -356,9 +356,9 @@
356 356 return [];
357 357 }
358 358
359 359 /**
360 - * @throws \Exception If the user doesn't have permissions or not found.
360 + * @throws \Exception
361 361 */
362 362 public static function ajax_get_revisions( $data ) {
363 363 Plugin::$instance->documents->check_permissions( $data['editor_post_id'] );
364 364