Ticket #26614: 26614.patch
File 26614.patch, 827 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/dashboard.php
585 585 echo '<div id="' . $args['id'] . '" class="activity-block">'; 586 586 587 587 if ( $posts->post_count > $args['display'] ) { 588 echo '<small class="show-more hide-if-no-js"><a href="#">' . sprintf( __( 'See %s more…'), $posts->post_count - intval( $args['display'] ) ) . '</a></small>'; 588 $count = $posts->post_count - intval( $args['display'] ); 589 $text = sprintf( _n( 'See %s more…', 'See %s more…', $count ), $count ); 590 echo '<small class="show-more hide-if-no-js"><a href="#">' . $text . '</a></small>'; 589 591 } 590 592 591 593 echo '<h4>' . $args['title'] . '</h4>';