From a018cdd4e393d9de16c5770cd388d61e4d3fb53f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 26 Feb 2018 18:38:31 +0000 Subject: [PATCH] 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 --- wp-admin/includes/image-edit.php | 12 +++++++++++- wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php index 4be465d3db..84ac3da933 100644 --- a/wp-admin/includes/image-edit.php +++ b/wp-admin/includes/image-edit.php @@ -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 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 960584c0cd..72c1f35c2a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.