Skip to content

Commit

Permalink
Update deprecation versions
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Apr 16, 2019
1 parent 52cce02 commit aa0c408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/editor/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function resetPost( post ) {
* Returns an action object used in signalling that the latest autosave of the
* post has been received, by initialization or autosave.
*
* @deprecated since 5.4. Callers should use the `receiveAutosaves( postId, autosave )`
* @deprecated since 5.6. Callers should use the `receiveAutosaves( postId, autosave )`
* selector from the '@wordpress/core-data' package.
*
* @param {Object} newAutosave Autosave post object.
Expand Down
6 changes: 3 additions & 3 deletions packages/editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export function getEditedPostAttribute( state, attributeName ) {
* Returns an attribute value of the current autosave revision for a post, or
* null if there is no autosave for the post.
*
* @deprecated since 5.4. Callers should use the `getAutosave( postType, postId, userId )` selector
* @deprecated since 5.6. Callers should use the `getAutosave( postType, postId, userId )` selector
* from the '@wordpress/core-data' package and access properties on the returned
* autosave object using getPostRawValue.
*
Expand Down Expand Up @@ -566,7 +566,7 @@ export const isEditedPostAutosaveable = createRegistrySelector( ( select ) => fu
* has yet to be autosaved, or has been saved or published since the last
* autosave).
*
* @deprecated since 5.4. Callers should use the `getAutosave( postType, postId, userId )`
* @deprecated since 5.6. Callers should use the `getAutosave( postType, postId, userId )`
* selector from the '@wordpress/core-data' package.
*
* @param {Object} state Editor state.
Expand All @@ -589,7 +589,7 @@ export const getAutosave = createRegistrySelector( ( select ) => ( state ) => {
/**
* Returns the true if there is an existing autosave, otherwise false.
*
* @deprecated since 5.4. Callers should use the `getAutosave( postType, postId, userId )` selector
* @deprecated since 5.6. Callers should use the `getAutosave( postType, postId, userId )` selector
* from the '@wordpress/core-data' package and check for a truthy value.
*
* @param {Object} state Global application state.
Expand Down

0 comments on commit aa0c408

Please sign in to comment.