From 296dba2804f05c85b89deb9a8d160f277e53977d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Thu, 12 Mar 2015 06:15:27 +0000 Subject: [PATCH] Nav menus: Return to calling links "Custom Links". It was like this before 3.6 and got a bit lost during that development cycle. Also uses the terminology more consistently in the nav menu UI. props tyxla. fixes #31344. Built from https://develop.svn.wordpress.org/trunk@31748 git-svn-id: http://core.svn.wordpress.org/trunk@31729 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/nav-menu.php | 2 +- wp-admin/nav-menus.php | 2 +- wp-includes/nav-menu.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index 8ba4556892..47c2e4ea91 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -444,7 +444,7 @@ function _wp_ajax_menu_quick_search( $request = array() ) { function wp_nav_menu_setup() { // Register meta boxes wp_nav_menu_post_type_meta_boxes(); - add_meta_box( 'add-custom-links', __( 'Links' ), 'wp_nav_menu_item_link_meta_box', 'nav-menus', 'side', 'default' ); + add_meta_box( 'add-custom-links', __( 'Custom Links' ), 'wp_nav_menu_item_link_meta_box', 'nav-menus', 'side', 'default' ); wp_nav_menu_taxonomy_meta_boxes(); // Register advanced menu items (columns) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 4c04d6b7de..d1cba01604 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -517,7 +517,7 @@ if ( ! $locations_screen ) : // Main tab $editing_menus = '

' . __( 'Each custom menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '

'; $editing_menus .= '

' . __( 'Clicking the arrow to the right of any menu item in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '

'; $editing_menus .= ''; diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 8142820ec9..48549b1aaa 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -688,7 +688,7 @@ function wp_setup_nav_menu_item( $menu_item ) { $menu_item->title = '' == $menu_item->post_title ? $original_title : $menu_item->post_title; } else { - $menu_item->type_label = __('Custom'); + $menu_item->type_label = __('Custom Link'); $menu_item->title = $menu_item->post_title; $menu_item->url = empty( $menu_item->url ) ? get_post_meta( $menu_item->ID, '_menu_item_url', true ) : $menu_item->url; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 6a60e04d98..56c1d7f0b4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31747'; +$wp_version = '4.2-alpha-31748'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.