PluginProbe
Elementor Website Builder – more than just a page builder / 3.32.2
Elementor Website Builder – more than just a page builder v3.32.2
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 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/managers/widgets.php +2 -8 4.0.83.32.2 View file →
@@ -385,9 +385,9 @@
385 385 return $config;
386 386 }
387 387
388 388 /**
389 - * @throws \Exception If current user don't have permissions to edit the post.
389 + * @throws \Exception Exception.
390 390 */
391 391 public function ajax_get_widget_types_controls_config( array $data ) {
392 392 Plugin::$instance->documents->check_permissions( $data['editor_post_id'] );
393 393
@@ -493,9 +493,9 @@
493 493 *
494 494 * @param array $request Ajax request.
495 495 *
496 496 * @return bool|string Rendered widget form.
497 - * @throws \Exception If current user don't have permissions to edit the post.
497 + * @throws \Exception If there is an error processing the request.
498 498 */
499 499 public function ajax_get_wp_widget_form( $request ) {
500 500 Plugin::$instance->documents->check_permissions( $request['editor_post_id'] );
501 501
@@ -631,14 +631,8 @@
631 631 */
632 632 public function enqueue_widgets_scripts() {
633 633 foreach ( $this->get_widget_types() as $widget ) {
634 634 $widget->enqueue_scripts();
635 - }
636 - }
637 -
638 - public function register_frontend_handlers() {
639 - foreach ( $this->get_widget_types() as $widget ) {
640 - $widget->register_frontend_handlers();
641 635 }
642 636 }
643 637
644 638 /**