Changeset 30681 for trunk/src/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 12/01/2014 01:33:34 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r30180 r30681 256 256 * @access public 257 257 * 258 * @param string|int $src The source file or Attachment ID.259 258 * @param int $src_x The start x position to crop from. 260 259 * @param int $src_y The start y position to crop from. … … 356 355 * @access public 357 356 * 358 * @param string $destfilename359 * @param string $mime_type357 * @param string|null $filename 358 * @param string|null $mime_type 360 359 * @return array|WP_Error {'path'=>string, 'file'=>string, 'width'=>int, 'height'=>int, 'mime-type'=>string} 361 360 */ … … 371 370 } 372 371 372 /** 373 * @param resource $image 374 * @param string|null $filename 375 * @param string|null $mime_type 376 * @return WP_Error|array 377 */ 373 378 protected function _save( $image, $filename = null, $mime_type = null ) { 374 379 list( $filename, $extension, $mime_type ) = $this->get_output_format( $filename, $mime_type );
Note: See TracChangeset
for help on using the changeset viewer.