Use valid markup in Walker_Nav_Menu_Edit::start_el() - replace <d(l|t)> with <div> for .menu-item-bar and .menu-item-handle.

Props sagarjadhav.
Fixes #31817.

Built from https://develop.svn.wordpress.org/trunk@32879


git-svn-id: http://core.svn.wordpress.org/trunk@32850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-06-19 22:22:26 +00:00
parent 88743c7cd7
commit 92d67bf395
6 changed files with 11 additions and 11 deletions

View File

@ -517,11 +517,11 @@ ul.add-menu-item-tabs li {
}
/* Sortables */
li.menu-item.ui-sortable-helper dl {
li.menu-item.ui-sortable-helper .menu-item-bar {
margin-top: 0;
}
li.menu-item.ui-sortable-helper .menu-item-transport dl {
li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar {
margin-top: 13px;
}

View File

@ -517,11 +517,11 @@ ul.add-menu-item-tabs li {
}
/* Sortables */
li.menu-item.ui-sortable-helper dl {
li.menu-item.ui-sortable-helper .menu-item-bar {
margin-top: 0;
}
li.menu-item.ui-sortable-helper .menu-item-transport dl {
li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar {
margin-top: 13px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -99,8 +99,8 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
?>
<li id="menu-item-<?php echo $item_id; ?>" class="<?php echo implode(' ', $classes ); ?>">
<dl class="menu-item-bar">
<dt class="menu-item-handle">
<div class="menu-item-bar">
<div class="menu-item-handle">
<span class="item-title"><span class="menu-item-title"><?php echo esc_html( $title ); ?></span> <span class="is-submenu" <?php echo $submenu_text; ?>><?php _e( 'sub item' ); ?></span></span>
<span class="item-controls">
<span class="item-type"><?php echo esc_html( $item->type_label ); ?></span>
@ -135,8 +135,8 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) );
?>"><?php _e( 'Edit Menu Item' ); ?></a>
</span>
</dt>
</dl>
</div>
</div>
<div class="menu-item-settings" id="menu-item-settings-<?php echo $item_id; ?>">
<?php if ( 'custom' == $item->type ) : ?>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32878';
$wp_version = '4.3-alpha-32879';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.