WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/12/2015 06:14:53 AM (7 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu.php

    r31521 r31748  
    689689
    690690            } else {
    691                 $menu_item->type_label = __('Custom');
     691                $menu_item->type_label = __('Custom Link');
    692692                $menu_item->title = $menu_item->post_title;
    693693                $menu_item->url = empty( $menu_item->url ) ? get_post_meta( $menu_item->ID, '_menu_item_url', true ) : $menu_item->url;
Note: See TracChangeset for help on using the changeset viewer.