We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0bd79 commit c42b7efCopy full SHA for c42b7ef
packages/editor/src/components/commands/index.js
@@ -304,9 +304,14 @@ const getSiteEditorCategoryCommands = () =>
304
const taxonomy = templateSlug.includes( 'tag' )
305
? 'post_tag'
306
: 'category';
307
+ const label =
308
+ taxonomy === 'post_tag'
309
+ ? __( 'Manage Tags' )
310
+ : __( 'Manage Categories' );
311
+
312
commands.push( {
313
name: 'core/manage-categories',
- label: __( 'Manage Categories' ),
314
+ label,
315
icon: category,
316
callback: ( { close } ) => {
317
close();
0 commit comments