Make WordPress Core

Changeset 23038


Ignore:
Timestamp:
12/04/2012 07:42:28 PM (14 years ago)
Author:
nacin
Message:

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

Location:
trunk/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-image-editor-gd.php

    r22863 r23038  
    177177         * @access public
    178178         *
    179          * @param array $sizes { {width, height}, ... }
     179         * @param array $sizes { {'width'=>int, 'height'=>int, 'crop'=>bool}, ... }
    180180         * @return array
    181181         */
  • trunk/wp-includes/class-wp-image-editor-imagick.php

    r22997 r23038  
    249249         * @access public
    250250         *
    251          * @param array $sizes
     251         * @param array $sizes { {'width'=>int, 'height'=>int, 'crop'=>bool}, ... }
    252252         * @return array
    253253         */
  • trunk/wp-includes/class-wp-image-editor.php

    r22817 r23038  
    102102         * @abstract
    103103         *
    104          * @param array $sizes
     104         * @param array $sizes { {'width'=>int, 'height'=>int, 'crop'=>bool}, ... }
    105105         * @return array
    106106         */
  • trunk/wp-includes/media.php

    r23032 r23038  
    295295
    296296/**
    297  * Retrieve calculated resized dimensions for use in imagecopyresampled().
     297 * Retrieve calculated resized dimensions for use in WP_Image_Editor.
    298298 *
    299299 * Calculate dimensions and coordinates for a resized image that fits within a
Note: See TracChangeset for help on using the changeset viewer.