Changeset 3482595
- Timestamp:
- 03/14/2026 03:08:41 PM (3 weeks ago)
- Location:
- wp-youtube-lyte
- Files:
-
- 2 edited
- 9 copied
-
tags/1.7.30 (copied) (copied from wp-youtube-lyte/trunk)
-
tags/1.7.30/lyte/lyte-min.js (copied) (copied from wp-youtube-lyte/trunk/lyte/lyte-min.js)
-
tags/1.7.30/lyte/lyte.js (copied) (copied from wp-youtube-lyte/trunk/lyte/lyte.js)
-
tags/1.7.30/lyteCache.php (copied) (copied from wp-youtube-lyte/trunk/lyteCache.php)
-
tags/1.7.30/options.php (copied) (copied from wp-youtube-lyte/trunk/options.php)
-
tags/1.7.30/player_sizes.inc.php (copied) (copied from wp-youtube-lyte/trunk/player_sizes.inc.php)
-
tags/1.7.30/readme.txt (copied) (copied from wp-youtube-lyte/trunk/readme.txt) (2 diffs)
-
tags/1.7.30/widget.php (copied) (copied from wp-youtube-lyte/trunk/widget.php)
-
tags/1.7.30/wp-youtube-lyte.php (copied) (copied from wp-youtube-lyte/trunk/wp-youtube-lyte.php) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-youtube-lyte.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-youtube-lyte/tags/1.7.30/readme.txt
r3395377 r3482595 6 6 License URI: [https://www.gnu.org/licenses/gpl-3.0.html](https://www.gnu.org/licenses/gpl-3.0.html) 7 7 Requires at least: 6.0 8 Tested up to: 6.99 Stable tag: 1.7. 298 Tested up to: 7.0 9 Stable tag: 1.7.30 10 10 11 11 High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility. … … 145 145 146 146 == Changelog == 147 148 = 1.7.30 = 149 * avoid error logging when both description and title are not set 150 * improve shortcode output sanitization to prevent possible Authenticated Stored Cross-Site Scripting as reported by Muhammad Yudha 151 * tested with WordPress 7.0 (beta) 147 152 148 153 = 1.7.29 = -
wp-youtube-lyte/tags/1.7.30/wp-youtube-lyte.php
r3395377 r3482595 5 5 Description: Lite and accessible YouTube audio and video embedding. 6 6 Author: Frank Goossens (futtta) 7 Version: 1.7. 297 Version: 1.7.30 8 8 Author URI: http://blog.futtta.be/ 9 9 Text Domain: wp-youtube-lyte … … 15 15 16 16 $debug = false; 17 $lyte_version = '1.7. 29';17 $lyte_version = '1.7.30'; 18 18 $lyte_db_version = get_option( 'lyte_version', 'none' ); 19 19 … … 533 533 534 534 // try to ensure description is never empty to avoid Google structured data test tool complaining about it missing. 535 if ( ! array_key_exists( 'description', $_thisLyte ) || empty( $_thisLyte['description']) ) {535 if ( array_key_exists( 'title', $_thisLyte ) && ( ! array_key_exists( 'description', $_thisLyte ) || empty( $_thisLyte['description'] ) ) ) { 536 536 $_thisLyte['description'] = $_thisLyte['title']; 537 537 } … … 658 658 659 659 if ($audio) { $proto = 'httpa'; } else { $proto = 'httpv'; } 660 if ( $start !== '' ) { $qs .= '&start=' . $start; }660 if ( $start !== '' ) { $qs .= '&start=' . esc_attr( $start ); } 661 661 if ( $showinfo === 'false' ) { $qs .= '&showinfo=0'; } 662 662 if ( $hqthumb ) { $qs .= '&hqThumb=1'; } 663 if ( $stepsize ) { $qs .= '#stepSize=' . $stepsize; }663 if ( $stepsize ) { $qs .= '#stepSize=' . esc_attr( $stepsize ); } 664 664 if ( $playlist ) { $action = 'playlist?list=';} else { $action = 'watch?v='; } 665 665 666 return lyte_parse( $proto . '://www.youtube.com/' . $action . $id. $qs );666 return lyte_parse( $proto . '://www.youtube.com/' . $action . esc_attr( $id ) . $qs ); 667 667 } 668 668 -
wp-youtube-lyte/trunk/readme.txt
r3395377 r3482595 6 6 License URI: [https://www.gnu.org/licenses/gpl-3.0.html](https://www.gnu.org/licenses/gpl-3.0.html) 7 7 Requires at least: 6.0 8 Tested up to: 6.99 Stable tag: 1.7. 298 Tested up to: 7.0 9 Stable tag: 1.7.30 10 10 11 11 High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility. … … 145 145 146 146 == Changelog == 147 148 = 1.7.30 = 149 * avoid error logging when both description and title are not set 150 * improve shortcode output sanitization to prevent possible Authenticated Stored Cross-Site Scripting as reported by Muhammad Yudha 151 * tested with WordPress 7.0 (beta) 147 152 148 153 = 1.7.29 = -
wp-youtube-lyte/trunk/wp-youtube-lyte.php
r3395377 r3482595 5 5 Description: Lite and accessible YouTube audio and video embedding. 6 6 Author: Frank Goossens (futtta) 7 Version: 1.7. 297 Version: 1.7.30 8 8 Author URI: http://blog.futtta.be/ 9 9 Text Domain: wp-youtube-lyte … … 15 15 16 16 $debug = false; 17 $lyte_version = '1.7. 29';17 $lyte_version = '1.7.30'; 18 18 $lyte_db_version = get_option( 'lyte_version', 'none' ); 19 19 … … 533 533 534 534 // try to ensure description is never empty to avoid Google structured data test tool complaining about it missing. 535 if ( ! array_key_exists( 'description', $_thisLyte ) || empty( $_thisLyte['description']) ) {535 if ( array_key_exists( 'title', $_thisLyte ) && ( ! array_key_exists( 'description', $_thisLyte ) || empty( $_thisLyte['description'] ) ) ) { 536 536 $_thisLyte['description'] = $_thisLyte['title']; 537 537 } … … 658 658 659 659 if ($audio) { $proto = 'httpa'; } else { $proto = 'httpv'; } 660 if ( $start !== '' ) { $qs .= '&start=' . $start; }660 if ( $start !== '' ) { $qs .= '&start=' . esc_attr( $start ); } 661 661 if ( $showinfo === 'false' ) { $qs .= '&showinfo=0'; } 662 662 if ( $hqthumb ) { $qs .= '&hqThumb=1'; } 663 if ( $stepsize ) { $qs .= '#stepSize=' . $stepsize; }663 if ( $stepsize ) { $qs .= '#stepSize=' . esc_attr( $stepsize ); } 664 664 if ( $playlist ) { $action = 'playlist?list=';} else { $action = 'watch?v='; } 665 665 666 return lyte_parse( $proto . '://www.youtube.com/' . $action . $id. $qs );666 return lyte_parse( $proto . '://www.youtube.com/' . $action . esc_attr( $id ) . $qs ); 667 667 } 668 668
Note: See TracChangeset
for help on using the changeset viewer.