Docs: Add missing `@since` entries for functions in `wp-admin/image-edit.php`.
See #42505. Built from https://develop.svn.wordpress.org/trunk@42756 git-svn-id: http://core.svn.wordpress.org/trunk@42586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9cb07ec40e
commit
a018cdd4e3
|
@ -9,6 +9,8 @@
|
|||
/**
|
||||
* Loads the WP image-editing interface.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param int $post_id Post ID.
|
||||
* @param bool|object $msg Optional. Message to display for image editor updates or errors.
|
||||
* Default false.
|
||||
|
@ -247,6 +249,8 @@ function wp_image_editor( $post_id, $msg = false ) {
|
|||
/**
|
||||
* Streams image in WP_Image_Editor to browser.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param WP_Image_Editor $image The image editor instance.
|
||||
* @param string $mime_type The mime type of the image.
|
||||
* @param int $attachment_id The image's attachment post ID.
|
||||
|
@ -301,7 +305,9 @@ function wp_stream_image( $image, $mime_type, $attachment_id ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Saves Image to File
|
||||
* Saves image to file.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param string $filename
|
||||
* @param WP_Image_Editor $image
|
||||
|
@ -605,6 +611,8 @@ function image_edit_apply_changes( $image, $changes ) {
|
|||
* Streams image in post to browser, along with enqueued changes
|
||||
* in $_REQUEST['history']
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param int $post_id
|
||||
* @return bool
|
||||
*/
|
||||
|
@ -733,6 +741,8 @@ function wp_restore_image( $post_id ) {
|
|||
* Saves image to post along with enqueued changes
|
||||
* in $_REQUEST['history']
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param int $post_id
|
||||
* @return \stdClass
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42755';
|
||||
$wp_version = '5.0-alpha-42756';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue