Changeset 3176341
- Timestamp:
- 10/27/2024 11:46:10 AM (17 months ago)
- Location:
- move-addons
- Files:
-
- 12 edited
- 1 copied
-
tags/1.3.6 (copied) (copied from move-addons/trunk)
-
tags/1.3.6/includes/widgets/accordion/widget.php (modified) (1 diff)
-
tags/1.3.6/includes/widgets/advanced-tab/widget.php (modified) (1 diff)
-
tags/1.3.6/includes/widgets/faq/widget.php (modified) (1 diff)
-
tags/1.3.6/includes/widgets/off-canvas/widget.php (modified) (1 diff)
-
tags/1.3.6/includes/widgets/remote-template/widget.php (modified) (1 diff)
-
tags/1.3.6/move-addons.php (modified) (2 diffs)
-
trunk/includes/widgets/accordion/widget.php (modified) (1 diff)
-
trunk/includes/widgets/advanced-tab/widget.php (modified) (1 diff)
-
trunk/includes/widgets/faq/widget.php (modified) (1 diff)
-
trunk/includes/widgets/off-canvas/widget.php (modified) (1 diff)
-
trunk/includes/widgets/remote-template/widget.php (modified) (1 diff)
-
trunk/move-addons.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
move-addons/tags/1.3.6/includes/widgets/accordion/widget.php
r3048903 r3176341 927 927 if ( $accordion['content_source'] == 'custom' && !empty( $accordion['content'] ) ) { 928 928 echo wp_kses_post( $accordion['content'] ); 929 } elseif ( $accordion['content_source'] == "elementor" && !empty( $accordion['template_id'] )) { 930 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 929 } elseif ( $accordion['content_source'] == "elementor" && !empty( $accordion['template_id'] ) ) { 930 if(!in_array(get_post_status($accordion['template_id']), ['pending', 'private', 'draft'])) { 931 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 932 } else { 933 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 934 } 931 935 } 932 936 ?> -
move-addons/tags/1.3.6/includes/widgets/advanced-tab/widget.php
r3048903 r3176341 609 609 }else{ 610 610 if( !empty( $tab['template_id'] ) ){ 611 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $tab['template_id'] ); 611 if(!in_array(get_post_status($tab['template_id']), ['pending', 'private', 'draft'])) { 612 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $tab['template_id'] ); 613 } else { 614 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 615 } 612 616 } 613 617 } -
move-addons/tags/1.3.6/includes/widgets/faq/widget.php
r3048903 r3176341 933 933 echo wp_kses_post( $accordion['content'] ); 934 934 } elseif ( $accordion['content_source'] == "elementor" && !empty( $accordion['template_id'] )) { 935 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 935 if(!in_array(get_post_status($accordion['template_id']), ['pending', 'private', 'draft'])) { 936 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 937 } else { 938 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 939 } 936 940 } 937 941 ?> -
move-addons/tags/1.3.6/includes/widgets/off-canvas/widget.php
r3048903 r3176341 445 445 } else{ 446 446 if( !empty( $settings['template_id'] ) ){ 447 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 447 if(!in_array(get_post_status($settings['template_id']), ['pending', 'private', 'draft'])) { 448 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 449 } else { 450 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 451 } 448 452 } 449 453 } -
move-addons/tags/1.3.6/includes/widgets/remote-template/widget.php
r2591400 r3176341 56 56 <?php 57 57 if( !empty( $settings['template_id'] ) ){ 58 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 58 if(!in_array(get_post_status($settings['template_id']), ['pending', 'private', 'draft'])) { 59 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 60 } else { 61 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 62 } 59 63 }else{ 60 64 echo '<p>'.esc_html__( 'Please Select template.', 'moveaddons' ).'</p>'; -
move-addons/tags/1.3.6/move-addons.php
r3158200 r3176341 6 6 * Author: moveaddons 7 7 * Author URI: https://moveaddons.com 8 * Version: 1.3. 58 * Version: 1.3.6 9 9 * License: GPL2 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 17 17 if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly 18 18 19 define( 'MOVE_ADDONS_VERSION', '1.3. 5' );19 define( 'MOVE_ADDONS_VERSION', '1.3.6' ); 20 20 define( 'MOVE_ADDONS_FILE', __FILE__ ); 21 21 define( 'MOVE_ADDONS_PL_PATH', plugin_dir_path( MOVE_ADDONS_FILE ) ); -
move-addons/trunk/includes/widgets/accordion/widget.php
r3048903 r3176341 927 927 if ( $accordion['content_source'] == 'custom' && !empty( $accordion['content'] ) ) { 928 928 echo wp_kses_post( $accordion['content'] ); 929 } elseif ( $accordion['content_source'] == "elementor" && !empty( $accordion['template_id'] )) { 930 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 929 } elseif ( $accordion['content_source'] == "elementor" && !empty( $accordion['template_id'] ) ) { 930 if(!in_array(get_post_status($accordion['template_id']), ['pending', 'private', 'draft'])) { 931 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 932 } else { 933 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 934 } 931 935 } 932 936 ?> -
move-addons/trunk/includes/widgets/advanced-tab/widget.php
r3048903 r3176341 609 609 }else{ 610 610 if( !empty( $tab['template_id'] ) ){ 611 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $tab['template_id'] ); 611 if(!in_array(get_post_status($tab['template_id']), ['pending', 'private', 'draft'])) { 612 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $tab['template_id'] ); 613 } else { 614 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 615 } 612 616 } 613 617 } -
move-addons/trunk/includes/widgets/faq/widget.php
r3048903 r3176341 933 933 echo wp_kses_post( $accordion['content'] ); 934 934 } elseif ( $accordion['content_source'] == "elementor" && !empty( $accordion['template_id'] )) { 935 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 935 if(!in_array(get_post_status($accordion['template_id']), ['pending', 'private', 'draft'])) { 936 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $accordion['template_id'] ); 937 } else { 938 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 939 } 936 940 } 937 941 ?> -
move-addons/trunk/includes/widgets/off-canvas/widget.php
r3048903 r3176341 445 445 } else{ 446 446 if( !empty( $settings['template_id'] ) ){ 447 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 447 if(!in_array(get_post_status($settings['template_id']), ['pending', 'private', 'draft'])) { 448 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 449 } else { 450 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 451 } 448 452 } 449 453 } -
move-addons/trunk/includes/widgets/remote-template/widget.php
r2591400 r3176341 56 56 <?php 57 57 if( !empty( $settings['template_id'] ) ){ 58 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 58 if(!in_array(get_post_status($settings['template_id']), ['pending', 'private', 'draft'])) { 59 echo move_addons_get_elementor()->frontend->get_builder_content_for_display( $settings['template_id'] ); 60 } else { 61 echo '<p>'.esc_html__('The post is not published yet. Make sure to publish it to view the content.', 'moveaddons').'</p>'; 62 } 59 63 }else{ 60 64 echo '<p>'.esc_html__( 'Please Select template.', 'moveaddons' ).'</p>'; -
move-addons/trunk/move-addons.php
r3158200 r3176341 6 6 * Author: moveaddons 7 7 * Author URI: https://moveaddons.com 8 * Version: 1.3. 58 * Version: 1.3.6 9 9 * License: GPL2 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 17 17 if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly 18 18 19 define( 'MOVE_ADDONS_VERSION', '1.3. 5' );19 define( 'MOVE_ADDONS_VERSION', '1.3.6' ); 20 20 define( 'MOVE_ADDONS_FILE', __FILE__ ); 21 21 define( 'MOVE_ADDONS_PL_PATH', plugin_dir_path( MOVE_ADDONS_FILE ) );
Note: See TracChangeset
for help on using the changeset viewer.