diff --git a/wp-admin/css/edit.css b/wp-admin/css/edit.css
index bc1ce3d0c3..f92163c8bb 100644
|
a
|
b
|
span.wp-media-buttons-icon:before { |
| 859 | 859 | display: none; |
| 860 | 860 | } |
| 861 | 861 | |
| 862 | | /*------------------------------------------------------------------------------ |
| 863 | | 11.4 - Post formats |
| 864 | | ------------------------------------------------------------------------------*/ |
| 865 | | |
| 866 | | .post-format-icon::before { |
| 867 | | display: inline-block; |
| 868 | | vertical-align: middle; |
| 869 | | height: 20px; |
| 870 | | width: 20px; |
| 871 | | margin-top: -4px; |
| 872 | | margin-right: 7px; |
| 873 | | color: #ddd; |
| 874 | | font: normal 20px/1 dashicons; |
| 875 | | speak: none; |
| 876 | | -webkit-font-smoothing: antialiased; |
| 877 | | -moz-osx-font-smoothing: grayscale; |
| 878 | | } |
| 879 | | |
| 880 | | a.post-format-icon:hover:before { |
| 881 | | color: #00a0d2; |
| 882 | | } |
| 883 | | |
| 884 | | #post-formats-select { |
| 885 | | line-height: 2em; |
| 886 | | } |
| 887 | | |
| 888 | | #post-formats-select .post-format-icon::before { |
| 889 | | top: 5px; |
| 890 | | } |
| 891 | | |
| 892 | | input.post-format { |
| 893 | | margin-top: 1px; |
| 894 | | } |
| 895 | | |
| 896 | | label.post-format-icon { |
| 897 | | margin-left: 0; |
| 898 | | padding: 2px 0; |
| 899 | | } |
| 900 | | |
| 901 | | .post-format-icon.post-format-standard::before { |
| 902 | | content: "\f109"; |
| 903 | | } |
| 904 | | |
| 905 | | .post-format-icon.post-format-image::before { |
| 906 | | content: "\f128"; |
| 907 | | } |
| 908 | | |
| 909 | | .post-format-icon.post-format-gallery::before { |
| 910 | | content: "\f161"; |
| 911 | | } |
| 912 | | |
| 913 | | .post-format-icon.post-format-audio::before { |
| 914 | | content: "\f127"; |
| 915 | | } |
| 916 | | |
| 917 | | .post-format-icon.post-format-video::before { |
| 918 | | content: "\f126"; |
| 919 | | } |
| 920 | | |
| 921 | | .post-format-icon.post-format-chat::before { |
| 922 | | content: "\f125"; |
| 923 | | } |
| 924 | | |
| 925 | | .post-format-icon.post-format-status::before { |
| 926 | | content: "\f130"; |
| 927 | | } |
| 928 | | |
| 929 | | .post-format-icon.post-format-aside::before { |
| 930 | | content: "\f123"; |
| 931 | | } |
| 932 | | |
| 933 | | .post-format-icon.post-format-quote::before { |
| 934 | | content: "\f122"; |
| 935 | | } |
| 936 | | |
| 937 | | .post-format-icon.post-format-link::before { |
| 938 | | content: "\f103"; |
| 939 | | } |
| 940 | | |
| 941 | 862 | /*------------------------------------------------------------------------------ |
| 942 | 863 | 12.0 - Categories |
| 943 | 864 | ------------------------------------------------------------------------------*/ |
diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
index b6dac84bc8..717e84fb9a 100644
|
a
|
b
|
class WP_Posts_List_Table extends WP_List_Table { |
| 1004 | 1004 | $pad = str_repeat( '— ', $this->current_level ); |
| 1005 | 1005 | echo '<strong>'; |
| 1006 | 1006 | |
| 1007 | | $format = get_post_format( $post->ID ); |
| 1008 | | $format_classes = ( $format ) ? 'post-format-icon post-format-' . esc_attr( $format ) : ''; |
| 1009 | | |
| 1010 | 1007 | $title = _draft_or_post_title(); |
| 1011 | 1008 | |
| 1012 | 1009 | if ( $can_edit_post && $post->post_status != 'trash' ) { |
| 1013 | 1010 | printf( |
| 1014 | | '<a class="row-title %s" href="%s" aria-label="%s">%s%s</a>', |
| 1015 | | $format_classes, |
| | 1011 | '<a class="row-title" href="%s" aria-label="%s">%s%s</a>', |
| 1016 | 1012 | get_edit_post_link( $post->ID ), |
| 1017 | 1013 | /* translators: %s: post title */ |
| 1018 | 1014 | esc_attr( sprintf( __( '“%s” (Edit)' ), $title ) ), |
| … |
… |
class WP_Posts_List_Table extends WP_List_Table { |
| 1021 | 1017 | ); |
| 1022 | 1018 | } else { |
| 1023 | 1019 | printf( |
| 1024 | | '<span class="%s">%s%s</span>', |
| 1025 | | $format_classes, |
| | 1020 | '<span>%s%s</span>', |
| 1026 | 1021 | $pad, |
| 1027 | 1022 | $title |
| 1028 | 1023 | ); |