Skip to content

Commit

Permalink
Allow all statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jun 12, 2023
1 parent f32bb68 commit 0812e7d
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ function buildMenuLabel( title, id, status ) {
return decodeEntities( title?.rendered );
}

// translators: %1s: title of the menu; %2s: status of the menu (draft, pending, etc.).
return sprintf( __( '%1$s (%2$s)' ), [
return sprintf(
// translators: %1s: title of the menu; %2s: status of the menu (draft, pending, etc.).
__( '%1$s (%2$s)' ),
decodeEntities( title?.rendered ),
status,
] );
status
);
}

function NavigationMenuSelector( {
Expand Down

0 comments on commit 0812e7d

Please sign in to comment.