Ticket #37554: 37554.patch
File 37554.patch, 995 bytes (added by , 8 years ago) |
---|
-
wp-admin/update-core.php
595 595 _e('Please select one or more plugins to update.'); 596 596 echo '</p></div>'; 597 597 } 598 599 600 $upgrade = get_site_transient( 'update_core' ); 601 602 if ( $upgrade && isset ( $upgrade->last_checked ) ) 603 { 604 $last_update_check = $upgrade->last_checked; 605 } 606 else 607 { 608 $last_update_check = time(); 609 } 610 598 611 599 612 echo '<p>'; 600 613 /* translators: %1 date, %2 time. */ 601 printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ) ), date_i18n( __( 'g:i a' )) );614 printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ), $last_update_check, true ), date_i18n( __( 'g:i a' ), $last_update_check, true ) ); 602 615 echo ' <a class="button" href="' . esc_url( self_admin_url('update-core.php?force-check=1') ) . '">' . __( 'Check Again' ) . '</a>'; 603 616 echo '</p>'; 604 617