PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.2
Elementor Website Builder – more than just a page builder v3.0.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/controls/base.php +7 -18 4.2.33.0.2 View file →
@@ -114,9 +114,15 @@
114 114 ?>
115 115 <script type="text/html" id="tmpl-elementor-control-<?php echo esc_attr( $this->get_type() ); ?>-content">
116 116 <div class="elementor-control-content">
117 117 <?php
118 - $this->content_template();
118 + // TODO: This is for backwards compatibility starting from 2.9.0
119 + // This `if` statement should be removed when the method is removed
120 + if ( method_exists( $this, '_content_template' ) ) {
121 + $this->_content_template();
122 + } else {
123 + $this->content_template();
124 + }
119 125 ?>
120 126 </div>
121 127 </script>
122 128 <?php
@@ -134,23 +140,6 @@
134 140 * @return array Control default settings.
135 141 */
136 142 protected function get_default_settings() {
137 143 return [];
138 - }
139 -
140 - public static function get_assets( $setting ) {
141 - return [];
142 - }
143 -
144 - /**
145 - * Update value of control that needs to be updated after import.
146 - *
147 - * @param mixed $value
148 - * @param array $control_args
149 - * @param array $config
150 - *
151 - * @return mixed
152 - */
153 - public function on_import_update_settings( $value, array $control_args, array $config ) {
154 - return $value;
155 144 }
156 145 }