Docs: Use 3-digit, x.x.x style semantic versioning for `@since` entries in `wp-admin/js/image-edit.js`.

See #38748.
Built from https://develop.svn.wordpress.org/trunk@39740


git-svn-id: http://core.svn.wordpress.org/trunk@39680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-06 22:13:20 +00:00
parent e8c65e0df1
commit 6032bd6e32
2 changed files with 29 additions and 29 deletions

View File

@ -2,7 +2,7 @@
/**
* @summary The functions necessary for editing images.
*
* @since 2.8.5
* @since 2.9.0
*/
(function($) {
@ -22,7 +22,7 @@
* @summary Converts a value to an integer.
*
* @memberof imageEdit
* @since 2.8.5
* @since 2.9.0
*
* @param {number} f The float value that should be converted.
*
@ -41,7 +41,7 @@
* or a field set.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {jQuery} el The element that should be modified.
* @param {bool|number} s The state for the element. If set to true
@ -70,7 +70,7 @@
* @summary Initializes the image editor.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
*
@ -113,7 +113,7 @@
* @summary Toggles the wait/load icon in the editor.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {number} toggle Is 0 or 1, fades the icon in then 1 and out when 0.
@ -134,7 +134,7 @@
* @summary Shows or hides the image edit help box.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {HTMLElement} el The element to create the help window in.
*
@ -156,7 +156,7 @@
* have to be applied to.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
*
@ -173,7 +173,7 @@
* If the original image size is exceeded a red exclamation mark is shown.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The current post id.
* @param {number} x Is 0 when it applies the y-axis
@ -209,7 +209,7 @@
* @summary Gets the selected aspect ratio.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
*
@ -236,7 +236,7 @@
* The history consist of (edit) actions performed on the image.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {number} setSize 0 or 1, when 1 the image resets to its original size.
@ -301,7 +301,7 @@
* When the image source is reloaded the image will be reloaded.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {string} nonce The nonce to verify the request.
@ -375,7 +375,7 @@
* @summary Performs an image edit action.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {string} nonce The nonce to verify the request.
@ -442,7 +442,7 @@
* @summary Stores the changes that are made to the image.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id to get the image from the database.
* @param {string} nonce The nonce to verify the request.
@ -507,7 +507,7 @@
* @summary Creates the image edit window.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id for the image.
* @param {string} nonce The nonce to verify the request.
@ -564,7 +564,7 @@
* @summary Initializes the cropping tool and sets a default cropping selection.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
*
@ -584,7 +584,7 @@
* @summary Initializes the cropping tool.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {HTMLElement} image The preview image.
@ -677,7 +677,7 @@
* @summary Stores the current crop selection.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {object} c The selection.
@ -708,7 +708,7 @@
* @summary Closes the image editor.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {bool} warn Warning message.
@ -749,7 +749,7 @@
* @summary Checks if the image edit history is saved.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
*
@ -773,7 +773,7 @@
* @summary Adds an image edit action to the history.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {object} op The original position.
* @param {number} postid The post id.
@ -806,7 +806,7 @@
* @summary Rotates the image.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {string} angle The angle the image is rotated with.
* @param {number} postid The post id.
@ -827,7 +827,7 @@
* @summary Flips the image.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} axis The axle the image is flipped on.
* @param {number} postid The post id.
@ -848,7 +848,7 @@
* @summary Crops the image.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {string} nonce The nonce.
@ -877,7 +877,7 @@
* @summary Undoes an image edit action.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {string} nonce The nonce.
@ -910,7 +910,7 @@
* Reverts a undo action.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {string} nonce The nonce.
@ -940,7 +940,7 @@
* @summary Sets the selection for the height and width in pixels.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {jQuery} el The element containing the values.
@ -997,7 +997,7 @@
* Rounds a number to a whole.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} num The number.
*
@ -1026,7 +1026,7 @@
* Sets a locked aspect ratio for the selection.
*
* @memberof imageEdit
* @since 2.9
* @since 2.9.0
*
* @param {number} postid The post id.
* @param {number} n The ratio to set.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39739';
$wp_version = '4.8-alpha-39740';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.