Ticket #30508: 30508.2.diff
File 30508.2.diff, 1.7 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/image-edit.php
404 404 * Performs group of changes on Editor specified. 405 405 * 406 406 * @param WP_Image_Editor $image 407 * @param type $changes407 * @param array $changes Array of change operations. 408 408 * @return WP_Image_Editor 409 409 */ 410 410 function image_edit_apply_changes( $image, $changes ) { -
wp-admin/includes/post.php
1629 1629 * 1630 1630 * @since 3.9.0 1631 1631 * 1632 * @param $post_data Associative array of the submitted post data.1632 * @param array $post_data Associative array of the submitted post data. 1633 1633 * @return mixed The value 0 or WP_Error on failure. The saved post ID on success. 1634 1634 * Te ID can be the draft post_id or the autosave revision post_id. 1635 1635 */ -
wp-includes/media.php
29 29 * @param int $width Width of the image 30 30 * @param int $height Height of the image 31 31 * @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) 33 33 * @return array Width and height of what the result image should resize to. 34 34 */ 35 35 function image_constrain_size_for_editor($width, $height, $size = 'medium', $context = null ) {