Changeset 32964 for trunk/src/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 06/27/2015 01:02:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r32650 r32964 88 88 * @access protected 89 89 * 90 * @return bool ean|WP_Error True if loaded successfully; WP_Error on failure.90 * @return bool|WP_Error True if loaded successfully; WP_Error on failure. 91 91 */ 92 92 public function load() { … … 161 161 * @param int|null $max_w Image width. 162 162 * @param int|null $max_h Image height. 163 * @param bool ean$crop163 * @param bool $crop 164 164 * @return true|WP_Error 165 165 */ … … 273 273 * @access public 274 274 * 275 * @param int $src_xThe start x position to crop from.276 * @param int $src_yThe start y position to crop from.277 * @param int $src_wThe width to crop.278 * @param int $src_hThe height to crop.279 * @param int $dst_wOptional. The destination width.280 * @param int $dst_hOptional. The destination height.281 * @param bool ean$src_abs Optional. If the source crop points are absolute.282 * @return bool ean|WP_Error275 * @param int $src_x The start x position to crop from. 276 * @param int $src_y The start y position to crop from. 277 * @param int $src_w The width to crop. 278 * @param int $src_h The height to crop. 279 * @param int $dst_w Optional. The destination width. 280 * @param int $dst_h Optional. The destination height. 281 * @param bool $src_abs Optional. If the source crop points are absolute. 282 * @return bool|WP_Error 283 283 */ 284 284 public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) { … … 345 345 * @access public 346 346 * 347 * @param bool ean$horz Flip along Horizontal Axis348 * @param bool ean$vert Flip along Vertical Axis347 * @param bool $horz Flip along Horizontal Axis 348 * @param bool $vert Flip along Vertical Axis 349 349 * @returns true|WP_Error 350 350 */ … … 477 477 * @param callable $function 478 478 * @param array $arguments 479 * @return bool ean479 * @return bool 480 480 */ 481 481 protected function make_image( $filename, $function, $arguments ) {
Note: See TracChangeset
for help on using the changeset viewer.