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

git-svn-id: https://develop.svn.wordpress.org/trunk@17191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-31 04:49:27 +00:00
parent 115f9d327d
commit 31285457f2
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; padding: 0 0 .2em 1px;
} }
span.post-state span { span.post-state-format {
font-weight: normal; font-weight: normal;
color: #555;
} }

View File

@ -1633,8 +1633,6 @@ function _post_states($post) {
$post_states[] = _x('Pending', 'post state'); $post_states[] = _x('Pending', 'post state');
if ( is_sticky($post->ID) ) if ( is_sticky($post->ID) )
$post_states[] = __('Sticky'); $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 ); $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>"; 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 // 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(), '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( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );