Skip to content

Commit

Permalink
Use 3.7.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Aug 6, 2018
1 parent 0ae80b0 commit 6925f39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/core-data/src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
*/
export function receiveTerms( taxonomy, terms ) {
deprecated( 'wp.data.dispatch("core").receiveTerms', {
version: '13.6.0',
version: '3.7.0',
alternative: 'wp.data.dispatch("core").receiveEntityRecords',
plugin: 'Gutenberg',
} );
Expand Down
2 changes: 1 addition & 1 deletion packages/core-data/src/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { getKindEntities } from './entities';
*/
export async function* getCategories() {
deprecated( 'getCategories resolver', {
version: '3.6.0',
version: '3.7.0',
alternative: 'getEntityRecords resolver',
plugin: 'Gutenberg',
} );
Expand Down
8 changes: 4 additions & 4 deletions packages/core-data/src/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function isResolving( selectorName, ...args ) {
*/
export function getTerms( state, taxonomy ) {
deprecated( 'wp.data.select("core").getTerms', {
version: '13.6.0',
version: '3.7.0',
alternative: 'wp.data.select("core").getEntityRecords',
plugin: 'Gutenberg',
} );
Expand All @@ -55,7 +55,7 @@ export function getTerms( state, taxonomy ) {
*/
export function getCategories( state ) {
deprecated( 'wp.data.select("core").getCategories', {
version: '13.6.0',
version: '3.7.0',
alternative: 'wp.data.select("core").getEntityRecords',
plugin: 'Gutenberg',
} );
Expand All @@ -73,7 +73,7 @@ export function getCategories( state ) {
*/
export function isRequestingTerms( state, taxonomy ) {
deprecated( 'wp.data.select("core").isRequestingTerms', {
version: '13.6.0',
version: '3.7.0',
alternative: 'wp.data.select("core").getEntitiesByKind',
plugin: 'Gutenberg',
} );
Expand All @@ -90,7 +90,7 @@ export function isRequestingTerms( state, taxonomy ) {
*/
export function isRequestingCategories() {
deprecated( 'wp.data.select("core").isRequestingCategories', {
version: '13.6.0',
version: '3.7.0',
alternative: 'wp.data.select("core").getEntitiesByKind',
plugin: 'Gutenberg',
} );
Expand Down

0 comments on commit 6925f39

Please sign in to comment.