mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Corrections and improvements to types used in various docblocks.
See #51800, #52217 git-svn-id: https://develop.svn.wordpress.org/trunk@49936 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,15 +11,15 @@
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string|int $src The source file or Attachment ID.
|
||||
* @param int $src_x The start x position to crop from.
|
||||
* @param int $src_y The start y position to crop from.
|
||||
* @param int $src_w The width to crop.
|
||||
* @param int $src_h The height to crop.
|
||||
* @param int $dst_w The destination width.
|
||||
* @param int $dst_h The destination height.
|
||||
* @param bool $src_abs Optional. If the source crop points are absolute.
|
||||
* @param string $dst_file Optional. The destination file to write to.
|
||||
* @param string|int $src The source file or Attachment ID.
|
||||
* @param int $src_x The start x position to crop from.
|
||||
* @param int $src_y The start y position to crop from.
|
||||
* @param int $src_w The width to crop.
|
||||
* @param int $src_h The height to crop.
|
||||
* @param int $dst_w The destination width.
|
||||
* @param int $dst_h The destination height.
|
||||
* @param bool|false $src_abs Optional. If the source crop points are absolute.
|
||||
* @param string|false $dst_file Optional. The destination file to write to.
|
||||
* @return string|WP_Error New filepath on success, WP_Error on failure.
|
||||
*/
|
||||
function wp_crop_image( $src, $src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h, $src_abs = false, $dst_file = false ) {
|
||||
|
||||
Reference in New Issue
Block a user