mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f40872acdd
commit
48d20c1839
File diff suppressed because one or more lines are too long
@ -5922,7 +5922,7 @@ a.rsswidget {
|
|||||||
clear:both;
|
clear:both;
|
||||||
line-height:1.5em;
|
line-height:1.5em;
|
||||||
position:relative;
|
position:relative;
|
||||||
margin-top: 13px;
|
margin: 13px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-item-handle {
|
.menu-item-handle {
|
||||||
|
@ -88,7 +88,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
|
|||||||
<span class="item-title"><?php echo esc_html( $title ); ?></span>
|
<span class="item-title"><?php echo esc_html( $title ); ?></span>
|
||||||
<span class="item-controls">
|
<span class="item-controls">
|
||||||
<span class="item-type"><?php echo esc_html( $item->type_label ); ?></span>
|
<span class="item-type"><?php echo esc_html( $item->type_label ); ?></span>
|
||||||
<span class="item-order">
|
<span class="item-order hide-if-js">
|
||||||
<a href="<?php
|
<a href="<?php
|
||||||
echo wp_nonce_url(
|
echo wp_nonce_url(
|
||||||
add_query_arg(
|
add_query_arg(
|
||||||
|
@ -406,7 +406,7 @@ function wp_default_styles( &$styles ) {
|
|||||||
// Any rtl stylesheets that don't have a .dev version for ltr
|
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||||
$no_suffix = array( 'farbtastic' );
|
$no_suffix = array( 'farbtastic' );
|
||||||
|
|
||||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110922' );
|
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110922b' );
|
||||||
|
|
||||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110919' );
|
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110919' );
|
||||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user