Plugin Directory

Changeset 3095284


Ignore:
Timestamp:
05/30/2024 04:48:46 PM (19 months ago)
Author:
wpweaver
Message:

V 6.5

Location:
weaverx-theme-support
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • weaverx-theme-support/tags/6.5/includes/wvrx-ts-shortcodes.php

    r2955134 r3095284  
    238238    $custom_header_sizes = apply_filters('weaverx_custom_header_sizes', "(max-width: {$width}px) 100vw, 1920px");
    239239
    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;
    242242    $st = $style ? ' style="' . $style . '"' : '';
    243243    $sizes = esc_attr($custom_header_sizes);
     
    899899    $args = '';
    900900    if ($id) {
    901         $args .= ' id="' . $id . '"';
     901        $args .= ' id="' . esc_attr($id) . '"';
    902902    }
    903903    if ($class) {
    904         $args .= ' class="' . $class . '"';
     904        $args .= ' class="' . esc_attr($class) . '"';
    905905    }
    906906    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>';
    911912}
    912913
     
    921922    $args = '';
    922923    if ($id) {
    923         $args .= ' id="' . $id . '"';
     924        $args .= ' id="' . esc_attr($id) . '"';
    924925    }
    925926    if ($class) {
    926         $args .= ' class="' . $class . '"';
     927        $args .= ' class="' . esc_attr($class) . '"';
    927928    }
    928929    if ($style) {
    929         $args .= ' style="' . $style . '"';
     930        $args .= ' style="' . esc_attr($style) . '"';
    930931    }
    931932
  • weaverx-theme-support/tags/6.5/readme.txt

    r3017943 r3095284  
    1111Requires at least: 6.0
    1212Requires PHP: 7.2
    13 Tested up to: 6.4
    14 Stable tag: 6.4
     13Tested up to: 6.5
     14Stable tag: 6.5
    1515
    1616A useful shortcode and widget collection for Weaver Xtreme
     
    7676
    7777== ChangeLog =
     78= 6.5 =
     79* Update: WP 6.5 compatibility
     80* Fix: [div] and [span] shortcodes
     81
    7882= 6.4 =
    7983* Update: WP 6.4 compatibility
  • weaverx-theme-support/tags/6.5/weaverx-ts.php

    r3017943 r3095284  
    1010Requires PHP: 7.2
    1111Requires at least: 6.0
    12 Tested up to: 6.4
    13 Stable tag: 6.4
     12Tested up to: 6.5
     13Stable tag: 6.5
    1414
    1515Weaver Xtreme Theme Support
    1616
    17 Copyright (C) 2014-2024 Bruce E. Wampler - [email protected]
     17Copyright (C) 2014-2024  F Bruce E. Wampler - [email protected]
    1818
    1919This program is free software: you can redistribute it and/or modify
     
    5454    strpos($theme, '/weaver-xtreme-5') !== false )) {        // only load if Weaver Xtreme is the theme
    5555
    56     define('WVRX_TS_VERSION', '6.4');
     56    define('WVRX_TS_VERSION', '6.5');
    5757    define('WVRX_TS_PAGEBUILDERS', true);
    5858
  • weaverx-theme-support/trunk/includes/wvrx-ts-shortcodes.php

    r2955134 r3095284  
    238238    $custom_header_sizes = apply_filters('weaverx_custom_header_sizes', "(max-width: {$width}px) 100vw, 1920px");
    239239
    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;
    242242    $st = $style ? ' style="' . $style . '"' : '';
    243243    $sizes = esc_attr($custom_header_sizes);
     
    899899    $args = '';
    900900    if ($id) {
    901         $args .= ' id="' . $id . '"';
     901        $args .= ' id="' . esc_attr($id) . '"';
    902902    }
    903903    if ($class) {
    904         $args .= ' class="' . $class . '"';
     904        $args .= ' class="' . esc_attr($class) . '"';
    905905    }
    906906    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>';
    911912}
    912913
     
    921922    $args = '';
    922923    if ($id) {
    923         $args .= ' id="' . $id . '"';
     924        $args .= ' id="' . esc_attr($id) . '"';
    924925    }
    925926    if ($class) {
    926         $args .= ' class="' . $class . '"';
     927        $args .= ' class="' . esc_attr($class) . '"';
    927928    }
    928929    if ($style) {
    929         $args .= ' style="' . $style . '"';
     930        $args .= ' style="' . esc_attr($style) . '"';
    930931    }
    931932
  • weaverx-theme-support/trunk/readme.txt

    r3017943 r3095284  
    1111Requires at least: 6.0
    1212Requires PHP: 7.2
    13 Tested up to: 6.4
    14 Stable tag: 6.4
     13Tested up to: 6.5
     14Stable tag: 6.5
    1515
    1616A useful shortcode and widget collection for Weaver Xtreme
     
    7676
    7777== ChangeLog =
     78= 6.5 =
     79* Update: WP 6.5 compatibility
     80* Fix: [div] and [span] shortcodes
     81
    7882= 6.4 =
    7983* Update: WP 6.4 compatibility
  • weaverx-theme-support/trunk/weaverx-ts.php

    r3017943 r3095284  
    1010Requires PHP: 7.2
    1111Requires at least: 6.0
    12 Tested up to: 6.4
    13 Stable tag: 6.4
     12Tested up to: 6.5
     13Stable tag: 6.5
    1414
    1515Weaver Xtreme Theme Support
    1616
    17 Copyright (C) 2014-2024 Bruce E. Wampler - [email protected]
     17Copyright (C) 2014-2024  F Bruce E. Wampler - [email protected]
    1818
    1919This program is free software: you can redistribute it and/or modify
     
    5454    strpos($theme, '/weaver-xtreme-5') !== false )) {        // only load if Weaver Xtreme is the theme
    5555
    56     define('WVRX_TS_VERSION', '6.4');
     56    define('WVRX_TS_VERSION', '6.5');
    5757    define('WVRX_TS_PAGEBUILDERS', true);
    5858
Note: See TracChangeset for help on using the changeset viewer.