| @@ -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. |
| @@ -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. |