Changeset 647532
- Timestamp:
- 01/03/2013 05:35:22 PM (13 years ago)
- Location:
- faster-image-insert
- Files:
-
- 4 edited
- 1 copied
-
tags/2.4.1 (copied) (copied from faster-image-insert/trunk)
-
tags/2.4.1/faster-image-insert.php (modified) (4 diffs)
-
tags/2.4.1/readme.txt (modified) (2 diffs)
-
trunk/faster-image-insert.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
faster-image-insert/tags/2.4.1/faster-image-insert.php
r637727 r647532 5 5 Plugin URI: http://bitinn.net/2765/ 6 6 Description: Fully integrates media manager into editing interface, avoid having to reload it separately in thickbox pop-up; comes with enhanced features, suitable for precise image control. 7 Version: trunk7 Version: 2.4.1 8 8 Author: David Frank 9 9 Author URI: http://bitinn.net/ … … 254 254 //load settings 255 255 $customstring = 'faster_insert_plugin_custom'; 256 $cstring = get_option( $customstring);256 $cstring = wp_kses_post(get_option( $customstring )); 257 257 258 258 $line_number = 'faster_insert_line_number'; … … 262 262 $oneline = get_option( $image_line ); 263 263 264 if(!is_numeric($number)) $number = 4;264 if(!is_numeric($number)) $number = 1; 265 265 266 266 //modify the insertion string … … 403 403 $number = get_option( $line_number ); 404 404 $caption = get_option( $no_caption ); 405 $cstring = get_option( $customstring);406 $ptype = get_option( $customtype);405 $cstring = esc_attr( get_option( $customstring ) ); 406 $ptype = esc_attr( get_option( $customtype ) ); 407 407 408 408 echo '<div class="wrap">'."\n". -
faster-image-insert/tags/2.4.1/readme.txt
r637736 r647532 5 5 Requires at least: 2.6 6 6 Tested up to: 3.5 7 Stable tag: 2.4. 07 Stable tag: 2.4.1 8 8 License: MIT 9 9 … … 75 75 76 76 * [unstable release](http://downloads.wordpress.org/plugin/faster-image-insert.zip) 77 78 = 2.4.1 = 79 80 * Fixed a potential XSS issue 77 81 78 82 = 2.4.0 = -
faster-image-insert/trunk/faster-image-insert.php
r637727 r647532 254 254 //load settings 255 255 $customstring = 'faster_insert_plugin_custom'; 256 $cstring = get_option( $customstring);256 $cstring = wp_kses_post(get_option( $customstring )); 257 257 258 258 $line_number = 'faster_insert_line_number'; … … 262 262 $oneline = get_option( $image_line ); 263 263 264 if(!is_numeric($number)) $number = 4;264 if(!is_numeric($number)) $number = 1; 265 265 266 266 //modify the insertion string … … 403 403 $number = get_option( $line_number ); 404 404 $caption = get_option( $no_caption ); 405 $cstring = get_option( $customstring);406 $ptype = get_option( $customtype);405 $cstring = esc_attr( get_option( $customstring ) ); 406 $ptype = esc_attr( get_option( $customtype ) ); 407 407 408 408 echo '<div class="wrap">'."\n". -
faster-image-insert/trunk/readme.txt
r637736 r647532 5 5 Requires at least: 2.6 6 6 Tested up to: 3.5 7 Stable tag: 2.4. 07 Stable tag: 2.4.1 8 8 License: MIT 9 9 … … 75 75 76 76 * [unstable release](http://downloads.wordpress.org/plugin/faster-image-insert.zip) 77 78 = 2.4.1 = 79 80 * Fixed a potential XSS issue 77 81 78 82 = 2.4.0 =
Note: See TracChangeset
for help on using the changeset viewer.