Make dates in multisite site and user list tables translatable.

Props pavelevap.

Fixes #22302.

Built from https://develop.svn.wordpress.org/trunk@31833


git-svn-id: http://core.svn.wordpress.org/trunk@31815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2015-03-19 16:22:28 +00:00
parent 78f0ca13c5
commit a18118ed7c
3 changed files with 5 additions and 5 deletions

View File

@ -203,9 +203,9 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
);
if ( 'list' == $mode ) {
$date = 'Y/m/d';
$date = __( 'Y/m/d' );
} else {
$date = 'Y/m/d \<\b\r \/\> g:i:s a';
$date = __( 'Y/m/d g:i:s a' );
}
foreach ( $this->items as $blog ) {

View File

@ -229,9 +229,9 @@ class WP_MS_Users_List_Table extends WP_List_Table {
case 'registered':
if ( 'list' == $mode )
$date = 'Y/m/d';
$date = __( 'Y/m/d' );
else
$date = 'Y/m/d \<\b\r \/\> g:i:s a';
$date = __( 'Y/m/d g:i:s a' );
echo "<td $attributes>" . mysql2date( $date, $user->user_registered ) . "</td>";
break;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta1-31832';
$wp_version = '4.2-beta1-31833';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.