Changeset 3322143
- Timestamp:
- 07/04/2025 07:30:20 AM (8 months ago)
- Location:
- xpro-elementor-addons/trunk
- Files:
-
- 5 edited
-
changelog.txt (modified) (1 diff)
-
libs/starter-sites/classes/class-starter-sites-admin.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
widgets/contact-form/layout/frontend.php (modified) (2 diffs)
-
xpro-elementor-addons.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xpro-elementor-addons/trunk/changelog.txt
r3309561 r3322143 1 = V 1.4.14 – 04 July 2025 2 3 - Fix: Corrected issues causing the Starter Sites menu and options to display improperly. 4 - Fix: Fixed minor bugs in the Contact Form widget to enhance functionality and reliability. 5 6 1 7 = V 1.4.13 – 11 June 2025 2 8 -
xpro-elementor-addons/trunk/libs/starter-sites/classes/class-starter-sites-admin.php
r3258187 r3322143 1325 1325 1326 1326 // Assign the static front page and the blog page. 1327 $front_page = xpro_get_page_by_title( 'Home' ); 1328 $blog_page = xpro_get_page_by_title( 'Blog' ); 1329 1330 update_option( 'show_on_front', 'page' ); 1331 update_option( 'page_on_front', $front_page->ID ); 1332 update_option( 'page_for_posts', $blog_page->ID ); 1327 // $front_page = xpro_get_page_by_title( 'Home' ); 1328 // $blog_page = xpro_get_page_by_title( 'Blog' ); 1329 1330 // update_option( 'show_on_front', 'page' ); 1331 // update_option( 'page_on_front', $front_page->ID ); 1332 // update_option( 'page_for_posts', $blog_page->ID ); 1333 1334 // Set up static front page with multiple possible title variations 1335 $front_page = false; 1336 $possible_home_titles = ['Home', 'HOME', 'Main', 'MAIN', 'Front Page']; 1337 foreach ($possible_home_titles as $title) { 1338 $front_page = xpro_get_page_by_title($title); 1339 if ($front_page) break; 1340 } 1341 1342 // Set up blog page with multiple possible title variations 1343 $blog_page = false; 1344 $possible_blog_titles = ['Blog', 'BLOG', 'Blogs', 'BLOGS', 'News', 'NEWS', 'Articles']; 1345 foreach ($possible_blog_titles as $title) { 1346 $blog_page = xpro_get_page_by_title($title); 1347 if ($blog_page) break; 1348 } 1349 1350 // Verify required pages before updating settings 1351 if ($front_page && $blog_page) { 1352 update_option('show_on_front', 'page'); 1353 update_option('page_on_front', $front_page->ID); 1354 update_option('page_for_posts', $blog_page->ID); 1355 } else { 1356 // If either page is not found, log a warning 1357 $this->log( esc_html__( 'Warning: Front page or blog page not found. Please check your theme setup.', 'xpro-elementor-addons' ) ); 1358 } 1333 1359 1334 1360 /*it includes options and menu data*/ … … 1339 1365 $this->update_elementor_post_images_meta(); 1340 1366 1367 // Ensure $theme_options is always an array 1368 $theme_options = is_array($theme_options) ? $theme_options : []; 1369 1341 1370 /*options data*/ 1342 $custom_options = $theme_options['options'] ? $theme_options['options'] : array(); 1371 $custom_options = array_key_exists('options', $theme_options) 1372 ? (array) $theme_options['options'] 1373 : []; 1343 1374 1344 1375 /*menu data*/ 1345 $menu_ids = $theme_options['menu'] ? $theme_options['menu'] : array(); 1376 $menu_ids = array_key_exists('menu', $theme_options) 1377 ? (array) $theme_options['menu'] 1378 : []; 1379 1380 /*options data*/ 1381 // $custom_options = $theme_options['options'] ? $theme_options['options'] : array(); 1382 1383 /*menu data*/ 1384 // $menu_ids = $theme_options['menu'] ? $theme_options['menu'] : array(); 1346 1385 1347 1386 /*we also want to update the widget area manager options.*/ -
xpro-elementor-addons/trunk/readme.txt
r3309561 r3322143 1 1 === 140+ Widgets | Xpro Addons For Elementor - FREE === 2 2 Plugin Name: Xpro Addons For Elementor (140+ Widgets & Free Theme Builder) 3 Version: 1.4.1 33 Version: 1.4.14 4 4 Contributors: Xpro 5 5 Tags: elementor, widgets for elementor, elementor widgets, addons for elementor, woocommerce elementor … … 266 266 == Changelog == 267 267 268 = V 1.4.14 – 04 July 2025 269 270 - Fix: Corrected issues causing the Starter Sites menu and options to display improperly. 271 - Fix: Fixed minor bugs in the Contact Form widget to enhance functionality and reliability. 272 273 268 274 = V 1.4.13 – 11 June 2025 269 275 -
xpro-elementor-addons/trunk/widgets/contact-form/layout/frontend.php
r3306431 r3322143 75 75 <div class="xpro-contact-form-item xpro-contact-form-item-type-submit"> 76 76 <button type="submit" class="xpro-contact-form-submit-button"> 77 78 <?php if ( $settings['icon']['value'] && ($settings['show_button_icon']=='yes')) { ?> 77 <?php if ( !empty($settings['icon']['value']) && !empty($settings['show_button_icon']) && $settings['show_button_icon'] === 'yes' ) { ?> 79 78 <span class="xpro-elementor-button-inner xpro-align-icon-<?php echo ( 'left' === $settings['icon_align'] ) ? 'left' : 'right'; ?>"> 80 79 <span class="xpro-elementor-button-media"><?php Icons_Manager::render_icon( $settings['icon'], array( 'aria-hidden' => 'true' ) ); ?></span> … … 85 84 <i aria-hidden="true" class="fas fa-circle-notch"></i> 86 85 <?php } ?> 87 88 86 </button> 89 90 87 </div> 91 88 </form> -
xpro-elementor-addons/trunk/xpro-elementor-addons.php
r3309561 r3322143 4 4 * Description: A complete Elementor Addons Pack to enhance your web designing experience. Create amazing websites with 50+ FREE Widgets, Extensions & more. 5 5 * Plugin URI: https://elementor.wpxpro.com/ 6 * Version: 1.4.1 36 * Version: 1.4.14 7 7 * Author: Xpro 8 8 * Author URI: https://www.wpxpro.com/ 9 9 * Developer: Xpro Team 10 10 * Text Domain: xpro-elementor-addons 11 * Elementor tested up to: 3. 29.211 * Elementor tested up to: 3.30.0 12 12 */ 13 13 14 14 defined( 'ABSPATH' ) || die(); 15 15 16 define( 'XPRO_ELEMENTOR_ADDONS_VERSION', '1.4.1 3' );16 define( 'XPRO_ELEMENTOR_ADDONS_VERSION', '1.4.14' ); 17 17 define( 'XPRO_ELEMENTOR_ADDONS__FILE__', __FILE__ ); 18 18 define( 'XPRO_ELEMENTOR_ADDONS_BASE', plugin_basename( __FILE__ ) ); … … 66 66 * @var string The plugin version. 67 67 */ 68 const VERSION = '1.4.1 3';68 const VERSION = '1.4.14'; 69 69 70 70 /**
Note: See TracChangeset
for help on using the changeset viewer.