Changeset 46684 for trunk/src/wp-admin/includes/image-edit.php
- Timestamp:
- 11/09/2019 12:57:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image-edit.php
r46359 r46684 293 293 * @param int $attachment_id The attachment post ID. 294 294 */ 295 $image = apply_filters ( 'image_save_pre', $image, $attachment_id);295 $image = apply_filters_deprecated( 'image_save_pre', array( $image, $attachment_id ), '3.5.0', 'image_editor_save_pre' ); 296 296 297 297 switch ( $mime_type ) { … … 354 354 355 355 /** This filter is documented in wp-admin/includes/image-edit.php */ 356 $image = apply_filters ( 'image_save_pre', $image, $post_id );356 $image = apply_filters_deprecated( 'image_save_pre', array( $image, $post_id ), '3.5.0', 'image_editor_save_pre' );; 357 357 358 358 /** … … 371 371 * @param int $post_id Post ID. 372 372 */ 373 $saved = apply_filters ( 'wp_save_image_file', null, $filename, $image, $mime_type, $post_id);373 $saved = apply_filters_deprecated( 'wp_save_image_file', array( null, $filename, $image, $mime_type, $post_id ), '3.5.0', 'wp_save_image_editor_file' ); 374 374 375 375 if ( null !== $saved ) { … … 571 571 * @param array $changes Array of change operations. 572 572 */ 573 $image = apply_filters ( 'image_edit_before_change', $image, $changes);573 $image = apply_filters_deprecated( 'image_edit_before_change', array( $image, $changes ), '3.5.0', 'wp_image_editor_before_change' ); 574 574 } 575 575
Note: See TracChangeset
for help on using the changeset viewer.