Changeset 25868 for trunk/src/wp-admin/custom-header.php
- Timestamp:
- 10/22/2013 05:21:32 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/custom-header.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r25821 r25868 713 713 wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) ); 714 714 715 / /duplicate_hook715 /** This filter is documented in wp-admin/custom-header.php */ 716 716 $image = apply_filters( 'wp_create_file_in_uploads', $image, $attachment_id ); // For replication 717 717 … … 855 855 wp_die( __( 'Image could not be processed. Please go back and try again.' ), __( 'Image Processing Error' ) ); 856 856 857 / /duplicate_hook857 /** This filter is documented in wp-admin/custom-header.php */ 858 858 $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication 859 859 … … 888 888 $medium = str_replace( basename( $original ), 'midsize-' . basename( $original ), $original ); 889 889 if ( file_exists( $medium ) ) { 890 //duplicate_hook 890 /** 891 * Filter the path of the file to delete. 892 * 893 * @since 2.1.0 894 * 895 * @param string $medium Path to the file to delete. 896 */ 891 897 @unlink( apply_filters( 'wp_delete_file', $medium ) ); 892 898 } 893 899 894 900 if ( empty( $_POST['create-new-attachment'] ) && empty( $_POST['skip-cropping'] ) ) { 895 / /duplicate_hook901 /** This filter is documented in wp-admin/custom-header.php */ 896 902 @unlink( apply_filters( 'wp_delete_file', $original ) ); 897 903 }
Note: See TracChangeset
for help on using the changeset viewer.