From 8fa35f9bbe45031f21ab83827ba14bec4952cb98 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 3 Nov 2011 23:55:03 +0000 Subject: [PATCH] Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742. git-svn-id: https://develop.svn.wordpress.org/trunk@19140 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/about.php | 8 +++++--- wp-admin/credits.php | 10 ++++++---- wp-admin/freedoms.php | 10 ++++++---- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/wp-admin/about.php b/wp-admin/about.php index 02377dfef4..23555aac2c 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -12,19 +12,21 @@ require_once( './admin.php' ); $title = __( 'About' ); $parent_file = 'index.php'; +list( $display_version ) = explode( '-', $wp_version ); + include( './admin-header.php' ); ?>
-

+

-
+