Changeset 37985 for trunk/src/wp-admin/includes/image-edit.php
- Timestamp:
- 07/06/2016 12:39:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image-edit.php
r37966 r37985 257 257 return true; 258 258 } else { 259 _deprecated_argument( __FUNCTION__, '3.5 ', __( '$image needs to be an WP_Image_Editor object' ) );259 _deprecated_argument( __FUNCTION__, '3.5.0', __( '$image needs to be an WP_Image_Editor object' ) ); 260 260 261 261 /** … … 322 322 return $image->save( $filename, $mime_type ); 323 323 } else { 324 _deprecated_argument( __FUNCTION__, '3.5 ', __( '$image needs to be an WP_Image_Editor object' ) );324 _deprecated_argument( __FUNCTION__, '3.5.0', __( '$image needs to be an WP_Image_Editor object' ) ); 325 325 326 326 /** This filter is documented in wp-admin/includes/image-edit.php */ … … 388 388 */ 389 389 function _rotate_image_resource($img, $angle) { 390 _deprecated_function( __FUNCTION__, '3.5 ', __( 'Use WP_Image_Editor::rotate' ) );390 _deprecated_function( __FUNCTION__, '3.5.0', __( 'Use WP_Image_Editor::rotate' ) ); 391 391 if ( function_exists('imagerotate') ) { 392 392 $rotated = imagerotate($img, $angle, 0); … … 411 411 */ 412 412 function _flip_image_resource($img, $horz, $vert) { 413 _deprecated_function( __FUNCTION__, '3.5 ', __( 'Use WP_Image_Editor::flip' ) );413 _deprecated_function( __FUNCTION__, '3.5.0', __( 'Use WP_Image_Editor::flip' ) ); 414 414 $w = imagesx($img); 415 415 $h = imagesy($img); … … 464 464 function image_edit_apply_changes( $image, $changes ) { 465 465 if ( is_resource( $image ) ) 466 _deprecated_argument( __FUNCTION__, '3.5 ', __( '$image needs to be an WP_Image_Editor object' ) );466 _deprecated_argument( __FUNCTION__, '3.5.0', __( '$image needs to be an WP_Image_Editor object' ) ); 467 467 468 468 if ( !is_array($changes) )
Note: See TracChangeset
for help on using the changeset viewer.