Ticket #26376: 26376.2.diff
File 26376.2.diff, 1.5 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/wp-admin.css
3103 3103 3104 3104 /* Dashboard Quick Draft - Drafts list */ 3105 3105 3106 #dashboard_quick_press .drafts {3106 .js #dashboard_quick_press .drafts { 3107 3107 border-top: 1px solid #eee; 3108 3108 } 3109 3109 -
src/wp-admin/includes/dashboard.php
311 311 $post_ID = (int) $post->ID; 312 312 ?> 313 313 314 <form name="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press" class="initial-form ">314 <form name="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press" class="initial-form hide-if-no-js"> 315 315 316 316 <?php if ( $error_msg ) : ?> 317 317 <div class="error"><?php echo $error_msg; ?></div> … … 535 535 echo '<div id="' . $args['id'] . '" class="activity-block">'; 536 536 537 537 if ( $posts->post_count > $args['display'] ) { 538 echo '<small class="show-more "><a href="#">' . sprintf( __( 'See %s more…'), $posts->post_count - intval( $args['display'] ) ) . '</a></small>';538 echo '<small class="show-more hide-if-no-js"><a href="#">' . sprintf( __( 'See %s more…'), $posts->post_count - intval( $args['display'] ) ) . '</a></small>'; 539 539 } 540 540 541 541 echo '<h4>' . $args['title'] . '</h4>';