Skip to content

Commit

Permalink
Header menu: Update items in menu
Browse files Browse the repository at this point in the history
Fixes #316, fixes #360
  • Loading branch information
ryelle committed Sep 26, 2023
1 parent 6a92c36 commit 1115eda
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions mu-plugins/blocks/global-header-footer/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,38 +422,38 @@ function get_global_menu_items() {
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Download & Extend', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/download/',
'title' => esc_html_x( 'Showcase', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/showcase/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Hosting', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/hosting/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Extend', 'Menu item title', 'wporg' ),
'url' => '#',
'type' => 'custom',
'submenu' => array(
array(
'title' => esc_html_x( 'Get WordPress', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/download/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Themes', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/themes/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Patterns', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/patterns/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Plugins', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/plugins/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Mobile', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/mobile/',
'title' => esc_html_x( 'Patterns', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/patterns/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Hosting', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/hosting/',
'title' => esc_html_x( 'Blocks', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/blocks/',
'type' => 'custom',
),
array(
Expand Down Expand Up @@ -542,11 +542,6 @@ function get_global_menu_items() {
'url' => 'https://wordpress.org/about/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Showcase', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/showcase/',
'type' => 'custom',
),
array(
'title' => esc_html_x( 'Enterprise', 'Menu item title', 'wporg' ),
'url' => 'https://wordpress.org/enterprise/',
Expand All @@ -558,7 +553,7 @@ function get_global_menu_items() {
'type' => 'custom',
),
array(
'title' => esc_html_x( 'WordPress Swag Store ↗︎', 'Menu item title', 'wporg' ),
'title' => esc_html_x( 'Swag Store ↗︎', 'Menu item title', 'wporg' ),
'url' => 'https://mercantile.wordpress.org/',
'type' => 'custom',
),
Expand Down

0 comments on commit 1115eda

Please sign in to comment.