Image editor doc fixes. props DH-Shredder. see #6821.

git-svn-id: http://core.svn.wordpress.org/trunk@23038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-04 19:42:28 +00:00
parent 1c5c724b3a
commit b20c0a5bd5
4 changed files with 4 additions and 4 deletions

View File

@ -176,7 +176,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
* @since 3.5.0
* @access public
*
* @param array $sizes { {width, height}, ... }
* @param array $sizes { {'width'=>int, 'height'=>int, 'crop'=>bool}, ... }
* @return array
*/
public function multi_resize( $sizes ) {

View File

@ -248,7 +248,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
* @since 3.5.0
* @access public
*
* @param array $sizes
* @param array $sizes { {'width'=>int, 'height'=>int, 'crop'=>bool}, ... }
* @return array
*/
public function multi_resize( $sizes ) {

View File

@ -101,7 +101,7 @@ abstract class WP_Image_Editor {
* @access public
* @abstract
*
* @param array $sizes
* @param array $sizes { {'width'=>int, 'height'=>int, 'crop'=>bool}, ... }
* @return array
*/
abstract public function multi_resize( $sizes );

View File

@ -294,7 +294,7 @@ function wp_constrain_dimensions( $current_width, $current_height, $max_width=0,
}
/**
* Retrieve calculated resized dimensions for use in imagecopyresampled().
* Retrieve calculated resized dimensions for use in WP_Image_Editor.
*
* Calculate dimensions and coordinates for a resized image that fits within a
* specified width and height. If $crop is true, the largest matching central