🔞 ADULT: Changeset/ - Complete Album!

Changeset 3186296


Ignore:
Timestamp:
11/12/2024 08:14:51 AM (14 months ago)
Author:
raldea89
Message:

3.3.5 update

Location:
fancybox-for-wordpress
Files:
2 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fancybox-for-wordpress/tags/3.3.5/assets/js/jquery.fancybox.js

    r2493004 r3186296  
    21272127        if (slide.opts.filter) {
    21282128          content = $("<div>")
    2129             .html(content)
     2129            .html(DOMPurify.sanitize(content))
    21302130            .find(slide.opts.filter);
    21312131        }
     
    23212321            .eq(0)
    23222322            .empty()
    2323             .html(caption);
     2323            .html(DOMPurify.sanitize(caption));
    23242324
    23252325          captionH = $clone.outerHeight(true);
     
    29692969          .children()
    29702970          .eq(0)
    2971           .html(caption);
     2971          .html(DOMPurify.sanitize(caption));
    29722972      } else {
    29732973        self.$caption = null;
     
    29792979
    29802980      // Update info and navigation elements
    2981       $container.find("[data-fancybox-count]").html(self.group.length);
    2982       $container.find("[data-fancybox-index]").html(index + 1);
     2981      $container.find("[data-fancybox-count]").html(DOMPurify.sanitize(self.group.length));
     2982      $container.find("[data-fancybox-index]").html(DOMPurify.sanitize(index + 1));
    29832983
    29842984      $container.find("[data-fancybox-prev]").prop("disabled", !current.opts.loop && index <= 0);
  • fancybox-for-wordpress/tags/3.3.5/fancybox.php

    r3058912 r3186296  
    44* Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
    55* Description: Integrates <a href="http://fancyapps.com/fancybox/3/">FancyBox 3</a> into WordPress.
    6 * Version: 3.3.4
     6* Version: 3.3.5
    77* Author: Colorlib
    88* Author URI: https://colorlib.com/wp/
    9 * Tested up to: 6.5
     9* Tested up to: 6.7
    1010* Requires: 4.6 or higher
    1111* License: GPLv3 or later
     
    3737 */
    3838// Constants
    39 define( 'FBFW_VERSION', '3.3.4' );
     39define( 'FBFW_VERSION', '3.3.5' );
    4040define( 'FBFW_PATH', plugin_dir_path( __FILE__ ) );
    4141define( 'FBFW_URL', plugin_dir_url( __FILE__ ) );
     
    176176    // Check if plugin should not call jQuery script (for troubleshooting only)
    177177    if ( isset( $mfbfw['nojQuery'] ) && $mfbfw['nojQuery'] ) {
    178         $jquery = false;
     178        $jquery = array( 'purify' );
    179179    }
    180180    else {
    181         $jquery = array( 'jquery' );
     181        $jquery = array( 'jquery', 'purify' );
    182182    }
    183183
    184184    // Register Scripts
     185    wp_register_script( 'purify', FBFW_URL . 'assets/js/purify.min.js', array(), '1.3.4', $footer ); // Main Fancybox script
    185186    wp_register_script( 'fancybox-for-wp', FBFW_URL . 'assets/js/jquery.fancybox.js', $jquery, '1.3.4', $footer ); // Main Fancybox script
    186187
  • fancybox-for-wordpress/tags/3.3.5/readme.txt

    r3058912 r3186296  
    44Requires at least: 4.6
    55Tested up to: 6.5
    6 Stable tag: 3.3.4
     6Stable tag: 3.3.5
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3131
    3232== Changelog ==
     33= 3.3.5 - 12.11.2024 =
     34Fixed: Security issue
     35
    3336= 3.3.4 - 22.03.2024 =
    3437Fixed: Security issue
  • fancybox-for-wordpress/trunk/assets/js/jquery.fancybox.js

    r2493004 r3186296  
    21272127        if (slide.opts.filter) {
    21282128          content = $("<div>")
    2129             .html(content)
     2129            .html(DOMPurify.sanitize(content))
    21302130            .find(slide.opts.filter);
    21312131        }
     
    23212321            .eq(0)
    23222322            .empty()
    2323             .html(caption);
     2323            .html(DOMPurify.sanitize(caption));
    23242324
    23252325          captionH = $clone.outerHeight(true);
     
    29692969          .children()
    29702970          .eq(0)
    2971           .html(caption);
     2971          .html(DOMPurify.sanitize(caption));
    29722972      } else {
    29732973        self.$caption = null;
     
    29792979
    29802980      // Update info and navigation elements
    2981       $container.find("[data-fancybox-count]").html(self.group.length);
    2982       $container.find("[data-fancybox-index]").html(index + 1);
     2981      $container.find("[data-fancybox-count]").html(DOMPurify.sanitize(self.group.length));
     2982      $container.find("[data-fancybox-index]").html(DOMPurify.sanitize(index + 1));
    29832983
    29842984      $container.find("[data-fancybox-prev]").prop("disabled", !current.opts.loop && index <= 0);
  • fancybox-for-wordpress/trunk/fancybox.php

    r3058912 r3186296  
    44* Plugin URI: https://wordpress.org/plugins/fancybox-for-wordpress/
    55* Description: Integrates <a href="http://fancyapps.com/fancybox/3/">FancyBox 3</a> into WordPress.
    6 * Version: 3.3.4
     6* Version: 3.3.5
    77* Author: Colorlib
    88* Author URI: https://colorlib.com/wp/
    9 * Tested up to: 6.5
     9* Tested up to: 6.7
    1010* Requires: 4.6 or higher
    1111* License: GPLv3 or later
     
    3737 */
    3838// Constants
    39 define( 'FBFW_VERSION', '3.3.4' );
     39define( 'FBFW_VERSION', '3.3.5' );
    4040define( 'FBFW_PATH', plugin_dir_path( __FILE__ ) );
    4141define( 'FBFW_URL', plugin_dir_url( __FILE__ ) );
     
    176176    // Check if plugin should not call jQuery script (for troubleshooting only)
    177177    if ( isset( $mfbfw['nojQuery'] ) && $mfbfw['nojQuery'] ) {
    178         $jquery = false;
     178        $jquery = array( 'purify' );
    179179    }
    180180    else {
    181         $jquery = array( 'jquery' );
     181        $jquery = array( 'jquery', 'purify' );
    182182    }
    183183
    184184    // Register Scripts
     185    wp_register_script( 'purify', FBFW_URL . 'assets/js/purify.min.js', array(), '1.3.4', $footer ); // Main Fancybox script
    185186    wp_register_script( 'fancybox-for-wp', FBFW_URL . 'assets/js/jquery.fancybox.js', $jquery, '1.3.4', $footer ); // Main Fancybox script
    186187
  • fancybox-for-wordpress/trunk/readme.txt

    r3058912 r3186296  
    44Requires at least: 4.6
    55Tested up to: 6.5
    6 Stable tag: 3.3.4
     6Stable tag: 3.3.5
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3131
    3232== Changelog ==
     33= 3.3.5 - 12.11.2024 =
     34Fixed: Security issue
     35
    3336= 3.3.4 - 22.03.2024 =
    3437Fixed: Security issue
Note: See TracChangeset for help on using the changeset viewer.