PluginProbe
Elementor Website Builder – more than just a page builder / 3.29.1
Elementor Website Builder – more than just a page builder v3.29.1
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/base/controls-stack.php +3 -10 4.2.33.29.1 View file →
@@ -226,9 +226,9 @@
226 226 public function get_id_int() {
227 227 /** We ignore possible notices, in order to support elements created prior to v1.8.0 and might include
228 228 * non-base 16 characters as part of their ID.
229 229 */
230 - return @hexdec( (string) $this->id );
230 + return @hexdec( $this->id );
231 231 }
232 232
233 233 /**
234 234 * Get widget number.
@@ -349,9 +349,9 @@
349 349 * @param array $settings Optional. Controls settings. Default is null.
350 350 *
351 351 * @return array Active controls.
352 352 */
353 - public function get_active_controls( ?array $controls = null, ?array $settings = null ) {
353 + public function get_active_controls( array $controls = null, array $settings = null ) {
354 354 Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.0.0' );
355 355
356 356 if ( ! $controls ) {
357 357 $controls = $this->get_controls();
@@ -796,9 +796,9 @@
796 796 * @param array $settings Optional. Controls settings. Default is null.
797 797 *
798 798 * @return array Style controls.
799 799 */
800 - final public function get_style_controls( ?array $controls = null, ?array $settings = null ) {
800 + final public function get_style_controls( array $controls = null, array $settings = null ) {
801 801 Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.0.0' );
802 802
803 803 $controls = $this->get_active_controls( $controls, $settings );
804 804
@@ -1182,15 +1182,8 @@
1182 1182 $this->parsed_dynamic_settings = $this->parse_dynamic_settings( $settings );
1183 1183 }
1184 1184
1185 1185 return self::get_items( $this->parsed_dynamic_settings, $setting );
1186 - }
1187 -
1188 - public function reset_render_state(): void {
1189 - $this->active_settings = null;
1190 - $this->parsed_active_settings = null;
1191 - $this->parsed_dynamic_settings = null;
1192 - $this->render_attributes = [];
1193 1186 }
1194 1187
1195 1188 /**
1196 1189 * Get active settings.