Changeset 23563 for trunk/wp-admin/includes/image-edit.php
- Timestamp:
- 03/01/2013 05:00:25 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/image-edit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image-edit.php
r23554 r23563 455 455 return false; 456 456 457 $changes = !empty($_REQUEST['history']) ? json_decode( stripslashes($_REQUEST['history']) ) : null;457 $changes = !empty($_REQUEST['history']) ? json_decode( wp_unslash($_REQUEST['history']) ) : null; 458 458 if ( $changes ) 459 459 $img = image_edit_apply_changes( $img, $changes ); … … 588 588 } 589 589 } elseif ( !empty($_REQUEST['history']) ) { 590 $changes = json_decode( stripslashes($_REQUEST['history']) );590 $changes = json_decode( wp_unslash($_REQUEST['history']) ); 591 591 if ( $changes ) 592 592 $img = image_edit_apply_changes($img, $changes);
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)