Make WordPress Core

Ticket #32732: 32732.diff

File 32732.diff, 1.6 KB (added by paulwilde, 11 years ago)
  • wp-includes/class-wp-customize-nav-menus.php

    diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php
    index 65a4c60..19832f5 100644
    a b final class WP_Customize_Nav_Menus { 
    271271                        'itemTypes'            => $this->available_item_types(),
    272272                        'l10n'                 => array(
    273273                                'untitled'          => _x( '(no label)', 'Missing menu item navigation label.' ),
    274                                 'custom_label'      => _x( 'Custom', 'Custom menu item type label.' ),
     274                                'custom_label'      => _x( 'Custom Link', 'Custom menu item type label.' ),
    275275                                'menuLocation'      => _x( '(Currently set to: %s)', 'Current menu location.' ),
    276276                                'deleteWarn'        => __( 'You are about to permanently delete this menu. "Cancel" to stop, "OK" to delete.' ),
    277277                                'itemAdded'         => __( 'Menu item added' ),
    final class WP_Customize_Nav_Menus { 
    625625                                <div class="accordion-section-content" data-type="search"></div>
    626626                        </div>
    627627                        <div id="new-custom-menu-item" class="accordion-section">
    628                                 <h4 class="accordion-section-title"><?php _e( 'Links' ); ?><button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle' ); ?></span></button></h4>
     628                                <h4 class="accordion-section-title"><?php _e( 'Custom Links' ); ?><button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle' ); ?></span></button></h4>
    629629                                <div class="accordion-section-content">
    630630                                        <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" />
    631631                                        <p id="menu-item-url-wrap">