Make WordPress Core

Ticket #30508: 30508.2.diff

File 30508.2.diff, 1.7 KB (added by tillkruess, 10 years ago)

added description for $changes parameter in image_edit_apply_changes()

  • wp-admin/includes/image-edit.php

     
    404404 * Performs group of changes on Editor specified.
    405405 *
    406406 * @param WP_Image_Editor $image
    407  * @param type $changes
     407 * @param array $changes Array of change operations.
    408408 * @return WP_Image_Editor
    409409 */
    410410function image_edit_apply_changes( $image, $changes ) {
  • wp-admin/includes/post.php

     
    16291629 *
    16301630 * @since 3.9.0
    16311631 *
    1632  * @param $post_data Associative array of the submitted post data.
     1632 * @param array $post_data Associative array of the submitted post data.
    16331633 * @return mixed The value 0 or WP_Error on failure. The saved post ID on success.
    16341634 *               Te ID can be the draft post_id or the autosave revision post_id.
    16351635 */
  • wp-includes/media.php

     
    2929 * @param int $width Width of the image
    3030 * @param int $height Height of the image
    3131 * @param string|array $size Size of what the result image should be.
    32  * @param context Could be 'display' (like in a theme) or 'edit' (like inserting into an editor)
     32 * @param string $context Could be 'display' (like in a theme) or 'edit' (like inserting into an editor)
    3333 * @return array Width and height of what the result image should resize to.
    3434 */
    3535function image_constrain_size_for_editor($width, $height, $size = 'medium', $context = null ) {