From e214fce67fb00ace638ba1fb2342a6c14f0e51e0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 9 Jan 2015 06:21:22 +0000 Subject: [PATCH] Use localized format for Last Updated date in plugin details modal, for consistency with [31055]. see #30717. Built from https://develop.svn.wordpress.org/trunk@31110 git-svn-id: http://core.svn.wordpress.org/trunk@31091 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin-install.php | 6 ++++-- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 327c1387af..d7a1a48fe9 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -439,6 +439,8 @@ function install_plugin_information() { echo "\n"; + $date_format = __( 'M j, Y @ G:i' ); + $last_updated_timestamp = strtotime( $api->last_updated ); ?>
@@ -448,8 +450,8 @@ function install_plugin_information() { author ) ) { ?>
  • author, '_blank' ); ?>
  • last_updated ) ) { ?> -
  • - last_updated ) ) ); ?> +
  • +
  • requires ) ) { ?>
  • requires ); ?>
  • diff --git a/wp-includes/version.php b/wp-includes/version.php index 9dc701b423..a3cddc39b4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31109'; +$wp_version = '4.2-alpha-31110'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.