WordPress.org

Make WordPress Core

Changeset 37153


Ignore:
Timestamp:
03/30/2016 09:54:45 PM (3 years ago)
Author:
westonruter
Message:

Customize: Fix toggle of title attribute field visibility on nav menus admin page.

Improves alignment with nav menus in the Customizer, fixing regression introduced in [36908].

See #35273.
Props sidati, westonruter.
Fixes #36353.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r36959 r37153  
    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,
     
    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,
  • trunk/src/wp-admin/includes/class-walker-nav-menu-edit.php

    r36422 r37153  
    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 />
  • trunk/src/wp-admin/includes/nav-menu.php

    r36908 r37153  
    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}
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php

    r35636 r37153  
    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 />
Note: See TracChangeset for help on using the changeset viewer.