mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Correct punctuation in some instances of the $crop parameter description.
Follow-up to [56416]. See #58833. git-svn-id: https://develop.svn.wordpress.org/trunk@56418 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -346,7 +346,7 @@ function remove_image_size( $name ) {
|
||||
* @param int $width Image width in pixels.
|
||||
* @param int $height Image height in pixels.
|
||||
* @param bool|array $crop {
|
||||
* Optional. Image cropping behavior. If false, the image will be scaled (default),
|
||||
* Optional. Image cropping behavior. If false, the image will be scaled (default).
|
||||
* If true, image will be cropped to the specified dimensions using center positions.
|
||||
* If an array, the image will be cropped using the array to specify the crop location:
|
||||
*
|
||||
@@ -680,7 +680,7 @@ function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = fa
|
||||
* @param int $width Image width.
|
||||
* @param int $height Image height.
|
||||
* @param bool|array $crop {
|
||||
* Optional. Image cropping behavior. If false, the image will be scaled (default),
|
||||
* Optional. Image cropping behavior. If false, the image will be scaled (default).
|
||||
* If true, image will be cropped to the specified dimensions using center positions.
|
||||
* If an array, the image will be cropped using the array to specify the crop location:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user