WordPress.org

Make WordPress Core

Changeset 20454


Ignore:
Timestamp:
04/12/2012 09:02:24 PM (10 years ago)
Author:
ryan
Message:

Use correct var name. Props mattonomics. fixes #20432

File:
1 edited

Legend:

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

    r20384 r20454  
    3333 * @since 2.1.0
    3434 *
    35  * @param string|int $src_file The source file or Attachment ID.
     35 * @param string|int $src The source file or Attachment ID.
    3636 * @param int $src_x The start x position to crop from.
    3737 * @param int $src_y The start y position to crop from.
     
    5656        }
    5757    } else {
    58         $src = wp_load_image( $src_file );
     58        $src = wp_load_image( $src );
    5959    }
    6060
Note: See TracChangeset for help on using the changeset viewer.