From 483e7a36d7a566b6753b5db1af4535494d0c4928 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 6 Jan 2015 01:03:23 +0000 Subject: [PATCH] Use localized format for Last Updated date on Add Plugins screen. props tyxla. fixes #30717. Built from https://develop.svn.wordpress.org/trunk@31055 git-svn-id: http://core.svn.wordpress.org/trunk@31036 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 7 +++++-- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 07bfa0c723..32c27545ff 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -444,6 +444,9 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { * @param array $plugin The plugin currently being listed. */ $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); + + $date_format = __( 'M j, Y @ G:i' ); + $last_updated_timestamp = strtotime( $plugin['last_updated'] ); ?>
@@ -469,8 +472,8 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { ()
- - + +
diff --git a/wp-includes/version.php b/wp-includes/version.php index 3641f304c8..ba14c59478 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31054'; +$wp_version = '4.2-alpha-31055'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.