Plugin Directory

Changeset 2850051


Ignore:
Timestamp:
01/17/2023 09:09:52 PM (3 years ago)
Author:
tallphil
Message:

Update to version 1.13 from GitHub

Location:
cpt-bootstrap-carousel
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cpt-bootstrap-carousel/assets/banner-1544x500.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/assets/banner-772x250.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/assets/icon-128x128.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/assets/icon-256x256.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/assets/icon.svg

    • Property svn:mime-type set to image/svg+xml
  • cpt-bootstrap-carousel/assets/screenshot-1.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/assets/screenshot-2.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/assets/screenshot-3.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • cpt-bootstrap-carousel/tags/1.13/readme.txt

    r2416800 r2850051  
    44Tags: carousel, slider, image, bootstrap
    55Requires at least: 3.0.1
    6 Tested up to: 5.5.3
     6Tested up to: 6.1.1
    77Requires PHP: 5.2.4
    88Stable tag: 1.12
     
    91912. Place the `[image-carousel]` shortcode in a Page or Post
    92923. Create new items in the `Carousel` post type, uploading a Featured Image for each.
    93   * (Optional) You can hyperlink each image by entering the desired url `Image Link URL` admin metabox when adding a new carousel image.
     93
     94* (Optional) You can hyperlink each image by entering the desired url `Image Link URL` admin metabox when adding a new carousel image.
    9495
    9596== Frequently Asked Questions ==
     
    156157
    157158== Changelog ==
     159
     160= 1.13 =
     161
     162* Security fix by [@aedelgod](https://github.com/aedelgod) to avoid XSS shortcode injection
     163* Update GitHub action for deployment to attach zip file to GitHub release
    158164
    159165= 1.12 =
  • cpt-bootstrap-carousel/tags/1.13/src/cptbc-frontend.php

    r2285844 r2850051  
    9999        ob_start();
    100100        ?>
    101         <div id="cptbc_<?php echo $id; ?>" class="carousel slide<?php if($atts['use_carousel_fade'] == '1'){ echo ' carousel-fade'; } ?>" <?php if($atts['use_javascript_animation'] == '0'){ echo ' data-ride="carousel"'; } ?> data-interval="<?php echo $atts['interval']; ?>">
     101        <div id="cptbc_<?php echo $id; ?>" class="carousel slide<?php if($atts['use_carousel_fade'] == '1'){ echo ' carousel-fade'; } ?>" <?php if($atts['use_javascript_animation'] == '0'){ echo ' data-ride="carousel"'; } ?> data-interval="<?php echo htmlspecialchars($atts['interval']); ?>">
    102102
    103103            <?php
     
    235235            jQuery(document).ready(function() {
    236236                jQuery('#cptbc_<?php echo $id; ?>').carousel({
    237                     interval: <?php echo $atts['interval']; ?>
     237                    interval: <?php echo htmlspecialchars($atts['interval']); ?>
    238238                });
    239239            });
  • cpt-bootstrap-carousel/trunk/readme.txt

    r2416800 r2850051  
    44Tags: carousel, slider, image, bootstrap
    55Requires at least: 3.0.1
    6 Tested up to: 5.5.3
     6Tested up to: 6.1.1
    77Requires PHP: 5.2.4
    88Stable tag: 1.12
     
    91912. Place the `[image-carousel]` shortcode in a Page or Post
    92923. Create new items in the `Carousel` post type, uploading a Featured Image for each.
    93   * (Optional) You can hyperlink each image by entering the desired url `Image Link URL` admin metabox when adding a new carousel image.
     93
     94* (Optional) You can hyperlink each image by entering the desired url `Image Link URL` admin metabox when adding a new carousel image.
    9495
    9596== Frequently Asked Questions ==
     
    156157
    157158== Changelog ==
     159
     160= 1.13 =
     161
     162* Security fix by [@aedelgod](https://github.com/aedelgod) to avoid XSS shortcode injection
     163* Update GitHub action for deployment to attach zip file to GitHub release
    158164
    159165= 1.12 =
  • cpt-bootstrap-carousel/trunk/src/cptbc-frontend.php

    r2285844 r2850051  
    9999        ob_start();
    100100        ?>
    101         <div id="cptbc_<?php echo $id; ?>" class="carousel slide<?php if($atts['use_carousel_fade'] == '1'){ echo ' carousel-fade'; } ?>" <?php if($atts['use_javascript_animation'] == '0'){ echo ' data-ride="carousel"'; } ?> data-interval="<?php echo $atts['interval']; ?>">
     101        <div id="cptbc_<?php echo $id; ?>" class="carousel slide<?php if($atts['use_carousel_fade'] == '1'){ echo ' carousel-fade'; } ?>" <?php if($atts['use_javascript_animation'] == '0'){ echo ' data-ride="carousel"'; } ?> data-interval="<?php echo htmlspecialchars($atts['interval']); ?>">
    102102
    103103            <?php
     
    235235            jQuery(document).ready(function() {
    236236                jQuery('#cptbc_<?php echo $id; ?>').carousel({
    237                     interval: <?php echo $atts['interval']; ?>
     237                    interval: <?php echo htmlspecialchars($atts['interval']); ?>
    238238                });
    239239            });
Note: See TracChangeset for help on using the changeset viewer.