Ticket #19286: 19286.patch
File 19286.patch, 2.8 KB (added by , 13 years ago) |
---|
-
wp-admin/css/colors-classic.dev.css
319 319 color: #fff; 320 320 } 321 321 322 .post-com-count:hover span {322 a.post-com-count:hover span { 323 323 background-color: #d54e21; 324 324 } 325 325 -
wp-admin/css/colors-fresh.dev.css
327 327 color: #fff; 328 328 } 329 329 330 .post-com-count:hover span {330 a.post-com-count:hover span { 331 331 background-color: #d54e21; 332 332 } 333 333 -
wp-admin/css/wp-admin.dev.css
1925 1925 display: block; 1926 1926 text-decoration: none; 1927 1927 padding: 0 0 6px; 1928 cursor: pointer;1929 1928 background-position: center -80px; 1930 1929 background-repeat: no-repeat; 1930 float: left; 1931 1931 } 1932 1932 1933 a.post-com-count { 1934 cursor: pointer; 1935 } 1936 1933 1937 .post-com-count span { 1934 1938 font-size: 11px; 1935 1939 font-weight: bold; … … 1946 1950 background-position: center -55px; 1947 1951 } 1948 1952 1949 .post-com-count:hover {1953 a.post-com-count:hover { 1950 1954 background-position: center -3px; 1951 1955 } 1952 1956 … … 2277 2281 padding-left: 3px; 2278 2282 } 2279 2283 2280 .fixed .column-comments a {2281 float: left;2282 }2283 2284 2284 .fixed .column-slug { 2285 2285 width: 25%; 2286 2286 } -
wp-admin/includes/class-wp-list-table.php
431 431 function comments_bubble( $post_id, $pending_comments ) { 432 432 $pending_phrase = sprintf( __( '%s pending' ), number_format( $pending_comments ) ); 433 433 434 if ( $pending_comments ) 435 echo '<strong>'; 434 if ( current_user_can( 'edit_posts' ) ) { 435 if ( $pending_comments ) 436 echo '<strong>'; 436 437 437 echo "<a href='" . esc_url( add_query_arg( 'p', $post_id, admin_url( 'edit-comments.php' ) ) ) . "' title='" . esc_attr( $pending_phrase ) . "' class='post-com-count'><span class='comment-count'>" . number_format_i18n( get_comments_number() ) . "</span></a>";438 echo "<a href='" . esc_url( add_query_arg( 'p', $post_id, admin_url( 'edit-comments.php' ) ) ) . "' title='" . esc_attr( $pending_phrase ) . "' class='post-com-count'><span class='comment-count'>" . number_format_i18n( get_comments_number() ) . "</span></a>"; 438 439 439 if ( $pending_comments ) 440 echo '</strong>'; 440 if ( $pending_comments ) 441 echo '</strong>'; 442 } else { 443 echo "<span class='post-com-count'><span class='comment-count'>" . number_format_i18n( get_comments_number() ) . "</span></span>"; 444 } 445 441 446 } 442 447 443 448 /**