Changeset 2850051
- Timestamp:
- 01/17/2023 09:09:52 PM (3 years ago)
- Location:
- cpt-bootstrap-carousel
- Files:
-
- 12 edited
- 1 copied
-
assets/banner-1544x500.png (modified) (1 prop) (previous)
-
assets/banner-772x250.png (modified) (1 prop) (previous)
-
assets/icon-128x128.png (modified) (1 prop) (previous)
-
assets/icon-256x256.png (modified) (1 prop) (previous)
-
assets/icon.svg (modified) (1 prop)
-
assets/screenshot-1.png (modified) (1 prop) (previous)
-
assets/screenshot-2.png (modified) (1 prop) (previous)
-
assets/screenshot-3.png (modified) (1 prop) (previous)
-
tags/1.13 (copied) (copied from cpt-bootstrap-carousel/trunk)
-
tags/1.13/readme.txt (modified) (3 diffs)
-
tags/1.13/src/cptbc-frontend.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/cptbc-frontend.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpt-bootstrap-carousel/assets/banner-1544x500.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/assets/banner-772x250.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/assets/icon-128x128.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/assets/icon-256x256.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/assets/icon.svg
-
Property
svn:mime-type
set to
image/svg+xml
-
Property
svn:mime-type
set to
-
cpt-bootstrap-carousel/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/assets/screenshot-3.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
cpt-bootstrap-carousel/tags/1.13/readme.txt
r2416800 r2850051 4 4 Tags: carousel, slider, image, bootstrap 5 5 Requires at least: 3.0.1 6 Tested up to: 5.5.36 Tested up to: 6.1.1 7 7 Requires PHP: 5.2.4 8 8 Stable tag: 1.12 … … 91 91 2. Place the `[image-carousel]` shortcode in a Page or Post 92 92 3. 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. 94 95 95 96 == Frequently Asked Questions == … … 156 157 157 158 == 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 158 164 159 165 = 1.12 = -
cpt-bootstrap-carousel/tags/1.13/src/cptbc-frontend.php
r2285844 r2850051 99 99 ob_start(); 100 100 ?> 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']); ?>"> 102 102 103 103 <?php … … 235 235 jQuery(document).ready(function() { 236 236 jQuery('#cptbc_<?php echo $id; ?>').carousel({ 237 interval: <?php echo $atts['interval']; ?>237 interval: <?php echo htmlspecialchars($atts['interval']); ?> 238 238 }); 239 239 }); -
cpt-bootstrap-carousel/trunk/readme.txt
r2416800 r2850051 4 4 Tags: carousel, slider, image, bootstrap 5 5 Requires at least: 3.0.1 6 Tested up to: 5.5.36 Tested up to: 6.1.1 7 7 Requires PHP: 5.2.4 8 8 Stable tag: 1.12 … … 91 91 2. Place the `[image-carousel]` shortcode in a Page or Post 92 92 3. 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. 94 95 95 96 == Frequently Asked Questions == … … 156 157 157 158 == 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 158 164 159 165 = 1.12 = -
cpt-bootstrap-carousel/trunk/src/cptbc-frontend.php
r2285844 r2850051 99 99 ob_start(); 100 100 ?> 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']); ?>"> 102 102 103 103 <?php … … 235 235 jQuery(document).ready(function() { 236 236 jQuery('#cptbc_<?php echo $id; ?>').carousel({ 237 interval: <?php echo $atts['interval']; ?>237 interval: <?php echo htmlspecialchars($atts['interval']); ?> 238 238 }); 239 239 });
Note: See TracChangeset
for help on using the changeset viewer.