Changeset 3095284
- Timestamp:
- 05/30/2024 04:48:46 PM (19 months ago)
- Location:
- weaverx-theme-support
- Files:
-
- 6 edited
- 1 copied
-
tags/6.5 (copied) (copied from weaverx-theme-support/trunk)
-
tags/6.5/includes/wvrx-ts-shortcodes.php (modified) (3 diffs)
-
tags/6.5/readme.txt (modified) (2 diffs)
-
tags/6.5/weaverx-ts.php (modified) (2 diffs)
-
trunk/includes/wvrx-ts-shortcodes.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/weaverx-ts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
weaverx-theme-support/tags/6.5/includes/wvrx-ts-shortcodes.php
r2955134 r3095284 238 238 $custom_header_sizes = apply_filters('weaverx_custom_header_sizes', "(max-width: {$width}px) 100vw, 1920px"); 239 239 240 $width = $w ? $w: get_custom_header()->width;241 $height = $h ? $h: get_custom_header()->height;240 $width = $w ? esc_attr($w) : get_custom_header()->width; 241 $height = $h ? esc_attr($h) : get_custom_header()->height; 242 242 $st = $style ? ' style="' . $style . '"' : ''; 243 243 $sizes = esc_attr($custom_header_sizes); … … 899 899 $args = ''; 900 900 if ($id) { 901 $args .= ' id="' . $id. '"';901 $args .= ' id="' . esc_attr($id) . '"'; 902 902 } 903 903 if ($class) { 904 $args .= ' class="' . $class. '"';904 $args .= ' class="' . esc_attr($class) . '"'; 905 905 } 906 906 if ($style) { 907 $args .= ' style="' . wp_kses_post($style) . '"'; 908 } 909 910 return '<div' . $args . '>' . do_shortcode($text) . '</div>'; 907 $args .= ' style="' . esc_attr($style) . '"'; 908 909 } 910 911 return '<div' . wp_kses_post($args) . '>' . do_shortcode($text) . '</div>'; 911 912 } 912 913 … … 921 922 $args = ''; 922 923 if ($id) { 923 $args .= ' id="' . $id. '"';924 $args .= ' id="' . esc_attr($id) . '"'; 924 925 } 925 926 if ($class) { 926 $args .= ' class="' . $class. '"';927 $args .= ' class="' . esc_attr($class) . '"'; 927 928 } 928 929 if ($style) { 929 $args .= ' style="' . $style. '"';930 $args .= ' style="' . esc_attr($style) . '"'; 930 931 } 931 932 -
weaverx-theme-support/tags/6.5/readme.txt
r3017943 r3095284 11 11 Requires at least: 6.0 12 12 Requires PHP: 7.2 13 Tested up to: 6. 414 Stable tag: 6. 413 Tested up to: 6.5 14 Stable tag: 6.5 15 15 16 16 A useful shortcode and widget collection for Weaver Xtreme … … 76 76 77 77 == ChangeLog = 78 = 6.5 = 79 * Update: WP 6.5 compatibility 80 * Fix: [div] and [span] shortcodes 81 78 82 = 6.4 = 79 83 * Update: WP 6.4 compatibility -
weaverx-theme-support/tags/6.5/weaverx-ts.php
r3017943 r3095284 10 10 Requires PHP: 7.2 11 11 Requires at least: 6.0 12 Tested up to: 6. 413 Stable tag: 6. 412 Tested up to: 6.5 13 Stable tag: 6.5 14 14 15 15 Weaver Xtreme Theme Support 16 16 17 Copyright (C) 2014-2024 Bruce E. Wampler - [email protected]17 Copyright (C) 2014-2024 F Bruce E. Wampler - [email protected] 18 18 19 19 This program is free software: you can redistribute it and/or modify … … 54 54 strpos($theme, '/weaver-xtreme-5') !== false )) { // only load if Weaver Xtreme is the theme 55 55 56 define('WVRX_TS_VERSION', '6. 4');56 define('WVRX_TS_VERSION', '6.5'); 57 57 define('WVRX_TS_PAGEBUILDERS', true); 58 58 -
weaverx-theme-support/trunk/includes/wvrx-ts-shortcodes.php
r2955134 r3095284 238 238 $custom_header_sizes = apply_filters('weaverx_custom_header_sizes', "(max-width: {$width}px) 100vw, 1920px"); 239 239 240 $width = $w ? $w: get_custom_header()->width;241 $height = $h ? $h: get_custom_header()->height;240 $width = $w ? esc_attr($w) : get_custom_header()->width; 241 $height = $h ? esc_attr($h) : get_custom_header()->height; 242 242 $st = $style ? ' style="' . $style . '"' : ''; 243 243 $sizes = esc_attr($custom_header_sizes); … … 899 899 $args = ''; 900 900 if ($id) { 901 $args .= ' id="' . $id. '"';901 $args .= ' id="' . esc_attr($id) . '"'; 902 902 } 903 903 if ($class) { 904 $args .= ' class="' . $class. '"';904 $args .= ' class="' . esc_attr($class) . '"'; 905 905 } 906 906 if ($style) { 907 $args .= ' style="' . wp_kses_post($style) . '"'; 908 } 909 910 return '<div' . $args . '>' . do_shortcode($text) . '</div>'; 907 $args .= ' style="' . esc_attr($style) . '"'; 908 909 } 910 911 return '<div' . wp_kses_post($args) . '>' . do_shortcode($text) . '</div>'; 911 912 } 912 913 … … 921 922 $args = ''; 922 923 if ($id) { 923 $args .= ' id="' . $id. '"';924 $args .= ' id="' . esc_attr($id) . '"'; 924 925 } 925 926 if ($class) { 926 $args .= ' class="' . $class. '"';927 $args .= ' class="' . esc_attr($class) . '"'; 927 928 } 928 929 if ($style) { 929 $args .= ' style="' . $style. '"';930 $args .= ' style="' . esc_attr($style) . '"'; 930 931 } 931 932 -
weaverx-theme-support/trunk/readme.txt
r3017943 r3095284 11 11 Requires at least: 6.0 12 12 Requires PHP: 7.2 13 Tested up to: 6. 414 Stable tag: 6. 413 Tested up to: 6.5 14 Stable tag: 6.5 15 15 16 16 A useful shortcode and widget collection for Weaver Xtreme … … 76 76 77 77 == ChangeLog = 78 = 6.5 = 79 * Update: WP 6.5 compatibility 80 * Fix: [div] and [span] shortcodes 81 78 82 = 6.4 = 79 83 * Update: WP 6.4 compatibility -
weaverx-theme-support/trunk/weaverx-ts.php
r3017943 r3095284 10 10 Requires PHP: 7.2 11 11 Requires at least: 6.0 12 Tested up to: 6. 413 Stable tag: 6. 412 Tested up to: 6.5 13 Stable tag: 6.5 14 14 15 15 Weaver Xtreme Theme Support 16 16 17 Copyright (C) 2014-2024 Bruce E. Wampler - [email protected]17 Copyright (C) 2014-2024 F Bruce E. Wampler - [email protected] 18 18 19 19 This program is free software: you can redistribute it and/or modify … … 54 54 strpos($theme, '/weaver-xtreme-5') !== false )) { // only load if Weaver Xtreme is the theme 55 55 56 define('WVRX_TS_VERSION', '6. 4');56 define('WVRX_TS_VERSION', '6.5'); 57 57 define('WVRX_TS_PAGEBUILDERS', true); 58 58
Note: See TracChangeset
for help on using the changeset viewer.