Changeset 3150555
- Timestamp:
- 09/12/2024 07:27:34 AM (19 months ago)
- Location:
- css-js-files
- Files:
-
- 7 added
- 2 edited
-
tags/1.5.1 (added)
-
tags/1.5.1/css (added)
-
tags/1.5.1/css-js-files.php (added)
-
tags/1.5.1/css/css-js-files.css (added)
-
tags/1.5.1/js (added)
-
tags/1.5.1/js/css-js-files.js (added)
-
tags/1.5.1/readme.txt (added)
-
trunk/css-js-files.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
css-js-files/trunk/css-js-files.php
r3146818 r3150555 4 4 Plugin URI: https://wordpress.org/plugins/css-js-files/ 5 5 Description: Add CSS files and/or CSS custom rules to any single page or post or globally 6 Version: 1.5. 06 Version: 1.5.1 7 7 Author: James Low 8 8 Author URI: http://jameslow.com … … 120 120 } 121 121 public static function editor_page() { 122 $file = sanitize_text_field($_GET['file']);123 $hasfile = isset($file) && $file != '' && str_starts_with($file, get_option('css_js_files_path') && strpos($file, '..') === false);122 $file = isset($_GET['file']) ? sanitize_text_field($_GET['file']) : ''; 123 $hasfile = $file != '' && str_starts_with($file, get_option('css_js_files_path')) && strpos($file, '..') === false; 124 124 $path = $hasfile ? WP_CONTENT_DIR.'/'.$file : ''; 125 125 if (!current_user_can( 'manage_options' )) { -
css-js-files/trunk/readme.txt
r3146818 r3150555 5 5 Requires at least: 3.0 6 6 Tested up to: 6.5.5 7 Stable tag: 1.5. 07 Stable tag: 1.5.1 8 8 License: MIT Licens 9 9 License URI: https://opensource.org/licenses/MIT … … 29 29 30 30 == Changelog == 31 32 = 1.5.1 = 33 * Additional fix to vulnerability in editor 34 * Remove PHP 8.X warning 31 35 32 36 = 1.5.0 =
Note: See TracChangeset
for help on using the changeset viewer.