Changeset 12381 for trunk/wp-includes/media.php
- Timestamp:
- 12/12/2009 08:06:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r12351 r12381 326 326 // the return array matches the parameters to imagecopyresampled() 327 327 // int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h 328 return array( 0, 0, $s_x, $s_y, $new_w, $new_h, $crop_w,$crop_h );328 return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h ); 329 329 330 330 }
Note: See TracChangeset
for help on using the changeset viewer.