Changeset 30633
- Timestamp:
- 11/30/2014 05:48:03 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r30542 r30633 215 215 * @since 2.9.0 216 216 * 217 * @global array $_wp_additional_image_sizes Associative array of additional image sizes. 218 * 217 219 * @param string $name Image size identifier. 218 220 * @param int $width Image width in pixels. … … 220 222 * @param bool|array $crop Optional. Whether to crop images to specified height and width or resize. 221 223 * An array can specify positioning of the crop area. Default false. 222 * @return bool|array False, if no image was created. Metadata array on success.223 224 */ 224 225 function add_image_size( $name, $width = 0, $height = 0, $crop = false ) { … … 269 270 * 270 271 * @since 2.9.0 272 * 271 273 * @see add_image_size() for details on cropping behavior. 272 274 * … … 275 277 * @param bool|array $crop Optional. Whether to crop images to specified height and width or resize. 276 278 * An array can specify positioning of the crop area. Default false. 277 * @return bool|array False, if no image was created. Metadata array on success.278 279 */ 279 280 function set_post_thumbnail_size( $width = 0, $height = 0, $crop = false ) {
Note: See TracChangeset
for help on using the changeset viewer.