Ticket #37595: 37595.patch
File 37595.patch, 705 bytes (added by , 4 years ago) |
---|
-
wp-admin/includes/dashboard.php
564 564 if ( count( $drafts ) > 3 ) { 565 565 echo '<p class="view-all"><a href="' . esc_url( admin_url( 'edit.php?post_status=draft' ) ) . '" aria-label="' . __( 'View all drafts' ) . '">' . _x( 'View all', 'drafts' ) . "</a></p>\n"; 566 566 } 567 echo '<h2 class="hide-if-no-js">' . _ _( 'Drafts') . "</h2>\n<ul>";567 echo '<h2 class="hide-if-no-js">' . _n( 'Draft', 'Drafts', count( $drafts ) ) . "</h2>\n<ul>"; 568 568 569 569 $drafts = array_slice( $drafts, 0, 3 ); 570 570 foreach ( $drafts as $draft ) {