| @@ -150,10 +150,8 @@ | ||
| 150 | 150 | wp_enqueue_script( $script ); |
| 151 | 151 | } |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | - public function register_frontend_handlers() {} | |
| 155 | - | |
| 156 | 154 | /** |
| 157 | 155 | * Get style dependencies. |
| 158 | 156 | * |
| 159 | 157 | * Retrieve the list of style dependencies the element requires. |
| @@ -769,9 +767,8 @@ | ||
| 769 | 767 | 'elementor-element-' . $id, |
| 770 | 768 | ], |
| 771 | 769 | 'data-id' => $id, |
| 772 | 770 | 'data-element_type' => $this->get_type(), |
| 773 | - 'data-e-type' => $this->get_type(), | |
| 774 | 771 | ] ); |
| 775 | 772 | |
| 776 | 773 | $class_settings = []; |
| 777 | 774 | |
| @@ -1582,9 +1579,9 @@ | ||
| 1582 | 1579 | * |
| 1583 | 1580 | * @param array $data Optional. Element data. Default is an empty array. |
| 1584 | 1581 | * @param array|null $args Optional. Element default arguments. Default is null. |
| 1585 | 1582 | **/ |
| 1586 | - public function __construct( array $data = [], ?array $args = null ) { | |
| 1583 | + public function __construct( array $data = [], array $args = null ) { | |
| 1587 | 1584 | if ( $data ) { |
| 1588 | 1585 | $this->is_type_instance = false; |
| 1589 | 1586 | } elseif ( $args ) { |
| 1590 | 1587 | $this->default_args = $args; |