mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@31748 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user