Changeset 20694 for trunk/wp-includes/media.php
- Timestamp:
- 05/02/2012 08:15:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r20679 r20694 328 328 * 329 329 * @since 2.5.0 330 * @uses apply_filters() Calls 'image_resize_dimensions' on $orig_w, $orig_h, $dest_w, $dest_h and 331 * $crop to provide custom resize dimensions. 330 332 * 331 333 * @param int $orig_w Original width. … … 343 345 if ($dest_w <= 0 && $dest_h <= 0) 344 346 return false; 347 348 // plugins can use this to provide custom resize dimensions 349 $output = apply_filters( 'image_resize_dimensions', null, $orig_w, $orig_h, $dest_w, $dest_h, $crop ); 350 if ( null !== $output ) 351 return $output; 345 352 346 353 if ( $crop ) {
Note: See TracChangeset
for help on using the changeset viewer.