Changeset 3348393
- Timestamp:
- 08/22/2025 01:22:00 AM (7 months ago)
- Location:
- wp-copysafe-web/trunk
- Files:
-
- 3 edited
-
function.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp-copysafe-web.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-copysafe-web/trunk/function.php
r3121744 r3348393 6 6 function wpcsw_ajaxprocess() 7 7 { 8 if( ! current_user_can('manage_options')) { 9 wp_send_json_error(); 10 } 11 8 12 if ($_POST["fucname"] == "check_upload_nonce") 9 13 { -
wp-copysafe-web/trunk/readme.txt
r3347839 r3348393 6 6 Requires at least: 5.0 7 7 Tested up to: 6.8 8 Stable tag: 4. 28 Stable tag: 4.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 98 98 == Changelog == 99 99 100 = 4.3 = 101 * Security fix related to logged-in users. 102 100 103 = 4.2 = 101 104 * Security fix and compatibility check for WP 6.8. -
wp-copysafe-web/trunk/wp-copysafe-web.php
r3328683 r3348393 7 7 Author: ArtistScope 8 8 Text Domain: wp-copysafe-web 9 Version: 4. 29 Version: 4.3 10 10 License: GPLv2 11 11 Author URI: https://artistscope.com/ … … 410 410 function wpcsw_ajax_action() { 411 411 add_filter('upload_dir', 'wpcsw_upload_dir'); 412 413 $response = []; 412 414 413 415 // check ajax nonce 414 416 //check_ajax_referer( __FILE__ ); 415 417 if (current_user_can('upload_files')) { 416 $response = [];417 418 // handle file upload 418 419 $id = media_handle_upload(
Note: See TracChangeset
for help on using the changeset viewer.