WordPress.org

Make WordPress Core

Changeset 39314


Ignore:
Timestamp:
11/19/2016 02:29:51 AM (18 months ago)
Author:
SergeyBiryukov
Message:

I18N: Remove unnecessary __() calls in _rotate_image_resource() and _flip_image_resource().

Use _deprecated_function()'s native strings.

Props ramiy.
Fixes #38862.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image-edit.php

    r38303 r39314  
    388388 */
    389389function _rotate_image_resource($img, $angle) {
    390     _deprecated_function( __FUNCTION__, '3.5.0', __( 'Use WP_Image_Editor::rotate' ) );
     390    _deprecated_function( __FUNCTION__, '3.5.0', 'WP_Image_Editor::rotate()' );
    391391    if ( function_exists('imagerotate') ) {
    392392        $rotated = imagerotate($img, $angle, 0);
     
    411411 */
    412412function _flip_image_resource($img, $horz, $vert) {
    413     _deprecated_function( __FUNCTION__, '3.5.0', __( 'Use WP_Image_Editor::flip' ) );
     413    _deprecated_function( __FUNCTION__, '3.5.0', 'WP_Image_Editor::flip()' );
    414414    $w = imagesx($img);
    415415    $h = imagesy($img);
Note: See TracChangeset for help on using the changeset viewer.