← All changes
|
modules/nested-accordion/widgets/nested-accordion.php
+2
-6
4.3.0
→
3.32.3
View file →
| @@ -30,12 +30,8 @@ | ||
| 30 | 30 | |
| 31 | 31 | private $optimized_markup = null; |
| 32 | 32 | private $widget_container_selector = ''; |
| 33 | 33 | |
| 34 | - protected function is_dynamic_content(): bool { | |
| 35 | - return true; | |
| 36 | - } | |
| 37 | - | |
| 38 | 34 | public function get_name() { |
| 39 | 35 | return 'nested-accordion'; |
| 40 | 36 | } |
| 41 | 37 | |
| @@ -55,9 +51,9 @@ | ||
| 55 | 51 | return [ 'widget-nested-accordion' ]; |
| 56 | 52 | } |
| 57 | 53 | |
| 58 | 54 | public function show_in_panel(): bool { |
| 59 | - return Plugin::$instance->experiments->is_feature_active( 'container' ); | |
| 55 | + return Plugin::$instance->experiments->is_feature_active( 'nested-elements', true ); | |
| 60 | 56 | } |
| 61 | 57 | |
| 62 | 58 | public function has_widget_inner_wrapper(): bool { |
| 63 | 59 | return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); |
| @@ -325,9 +321,9 @@ | ||
| 325 | 321 | 'faq_schema_message', |
| 326 | 322 | [ |
| 327 | 323 | 'type' => Controls_Manager::ALERT, |
| 328 | 324 | 'alert_type' => 'info', |
| 329 | - 'content' => esc_html__( 'Google no longer supports the FAQ schema; however, it may still hold secondary value for AI and LLMs.', 'elementor' ), | |
| 325 | + 'content' => esc_html__( 'Let Google know that this section contains an FAQ. Make sure to only use it only once per page', 'elementor' ), | |
| 330 | 326 | 'condition' => [ |
| 331 | 327 | 'faq_schema[value]' => 'yes', |
| 332 | 328 | ], |
| 333 | 329 | ] |