Small visual improvements to post formats on edit.php. see #16047.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-31 04:49:27 +00:00
parent 96aa2460d9
commit a18f529d6e
4 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -1540,9 +1540,8 @@ th.asc:hover span.sorting-indicator {
padding: 0 0 .2em 1px;
}
span.post-state span {
span.post-state-format {
font-weight: normal;
color: #555;
}

View File

@ -1633,8 +1633,6 @@ function _post_states($post) {
$post_states[] = _x('Pending', 'post state');
if ( is_sticky($post->ID) )
$post_states[] = __('Sticky');
if ( get_post_format( $post->ID ) )
$post_states[] = '<span>[</span>' . get_post_format_string( get_post_format( $post->ID ) ) . '<span>]</span>';
$post_states = apply_filters( 'display_post_states', $post_states );
@ -1648,6 +1646,9 @@ function _post_states($post) {
echo "<span class='post-state'>$state$sep</span>";
}
}
if ( get_post_format( $post->ID ) )
echo ' - <span class="post-state-format">' . get_post_format_string( get_post_format( $post->ID ) ) . '</span>';
}
/**

View File

@ -484,7 +484,7 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20101230b' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20101230c' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );