Skip to content

Commit

Permalink
Remove home/posts page suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and tellthemachines committed May 26, 2023
1 parent 604f219 commit 0be138e
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ export default function SidebarNavigationScreenPages() {
</PageItem>
) }
{ pages?.map( ( item ) => {
const pageIsFrontPage = item.id === frontPage;
const pageIsPostsPage = item.id === postsPage;
let itemIcon;
switch ( item.id ) {
case frontPage:
Expand All @@ -136,10 +134,6 @@ export default function SidebarNavigationScreenPages() {
{ decodeEntities(
item.title?.rendered
) ?? __( '(no title)' ) }
{ pageIsFrontPage &&
__( ' (Front Page)' ) }
{ pageIsPostsPage &&
__( ' (Posts Page)' ) }
</PageItem>
);
} ) }
Expand Down

0 comments on commit 0be138e

Please sign in to comment.