Skip to content

Commit

Permalink
Editor: Fix deprecation version for template selectors
Browse files Browse the repository at this point in the history
Co-authored-by: gigitux <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: oandregal <[email protected]>
  • Loading branch information
4 people authored Nov 26, 2024
1 parent 514b670 commit d2c2ed8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@ export const __experimentalGetDefaultTemplateTypes = createRegistrySelector(
deprecated(
"select('core/editor').__experimentalGetDefaultTemplateTypes",
{
since: '6.7',
since: '6.8',
alternative:
"select('core/core-data').getEntityRecord( 'root', '__unstableBase' )?.default_template_types",
}
Expand All @@ -1730,7 +1730,7 @@ export const __experimentalGetDefaultTemplatePartAreas = createRegistrySelector(
deprecated(
"select('core/editor').__experimentalGetDefaultTemplatePartAreas",
{
since: '6.7',
since: '6.8',
alternative:
"select('core/core-data').getEntityRecord( 'root', '__unstableBase' )?.default_template_part_areas",
}
Expand Down Expand Up @@ -1760,7 +1760,7 @@ export const __experimentalGetDefaultTemplateType = createRegistrySelector(
deprecated(
"select('core/editor').__experimentalGetDefaultTemplateType",
{
since: '6.7',
since: '6.8',
}
);
const templateTypes = select( coreStore ).getEntityRecord(
Expand Down Expand Up @@ -1792,7 +1792,7 @@ export const __experimentalGetTemplateInfo = createRegistrySelector(
( select ) =>
createSelector( ( state, template ) => {
deprecated( "select('core/editor').__experimentalGetTemplateInfo", {
since: '6.7',
since: '6.8',
} );

if ( ! template ) {
Expand Down

0 comments on commit d2c2ed8

Please sign in to comment.