WordPress.org

Make WordPress Core

Ticket #36353: 36353.3.diff

File 36353.3.diff, 3.9 KB (added by westonruter, 5 years ago)
  • src/wp-admin/css/customize-nav-menus.css

    diff --git src/wp-admin/css/customize-nav-menus.css src/wp-admin/css/customize-nav-menus.css
    index a73bdf9..cc6725e 100644
     
    271271}
    272272
    273273#accordion-panel-nav_menus .field-link-target,
    274 #accordion-panel-nav_menus .field-attr-title,
     274#accordion-panel-nav_menus .field-title-attribute,
    275275#accordion-panel-nav_menus .field-css-classes,
    276276#accordion-panel-nav_menus .field-xfn,
    277277#accordion-panel-nav_menus .field-description {
     
    279279}
    280280
    281281#accordion-panel-nav_menus.field-link-target-active .field-link-target,
    282 #accordion-panel-nav_menus.field-attr-title-active .field-attr-title,
     282#accordion-panel-nav_menus.field-title-attribute-active .field-title-attribute,
    283283#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,
    284284#accordion-panel-nav_menus.field-xfn-active .field-xfn,
    285285#accordion-panel-nav_menus.field-description-active .field-description {
  • src/wp-admin/includes/class-walker-nav-menu-edit.php

    diff --git src/wp-admin/includes/class-walker-nav-menu-edit.php src/wp-admin/includes/class-walker-nav-menu-edit.php
    index b13e9d8..7576de1 100644
    class Walker_Nav_Menu_Edit extends Walker_Nav_Menu { 
    165165                                                <input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" />
    166166                                        </label>
    167167                                </p>
    168                                 <p class="field-title-attribute description description-wide">
     168                                <p class="field-title-attribute field-attr-title description description-wide">
    169169                                        <label for="edit-menu-item-attr-title-<?php echo $item_id; ?>">
    170170                                                <?php _e( 'Title Attribute' ); ?><br />
    171171                                                <input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" />
  • src/wp-admin/includes/nav-menu.php

    diff --git src/wp-admin/includes/nav-menu.php src/wp-admin/includes/nav-menu.php
    index d8947d8..18dcc97 100644
    function wp_get_nav_menu_to_edit( $menu_id = 0 ) { 
    941941 */
    942942function wp_nav_menu_manage_columns() {
    943943        return array(
    944                 '_title'      => __( 'Show advanced menu properties' ),
    945                 'cb'          => '<input type="checkbox" />',
    946                 'link-target' => __( 'Link Target' ),
    947                 'attr-title' => __( 'Title Attribute' ),
    948                 'css-classes' => __( 'CSS Classes' ),
    949                 'xfn'         => __( 'Link Relationship (XFN)' ),
    950                 'description' => __( 'Description' ),
     944                '_title'          => __( 'Show advanced menu properties' ),
     945                'cb'              => '<input type="checkbox" />',
     946                'link-target'     => __( 'Link Target' ),
     947                'title-attribute' => __( 'Title Attribute' ),
     948                'css-classes'     => __( 'CSS Classes' ),
     949                'xfn'             => __( 'Link Relationship (XFN)' ),
     950                'description'     => __( 'Description' ),
    951951        );
    952952}
    953953
  • src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php

    diff --git src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php
    index 466f214..95e7b54 100644
    class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control { 
    105105                                        <?php _e( 'Open link in a new tab' ); ?>
    106106                                </label>
    107107                        </p>
    108                         <p class="field-attr-title description description-thin">
     108                        <p class="field-title-attribute field-attr-title description description-thin">
    109109                                <label for="edit-menu-item-attr-title-{{ data.menu_item_id }}">
    110110                                        <?php _e( 'Title Attribute' ); ?><br />
    111111                                        <input type="text" id="edit-menu-item-attr-title-{{ data.menu_item_id }}" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title" />