From bc35a81482d2d0e40864a48ea2deb10b2b0add44 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sat, 6 Dec 2014 02:38:22 +0000 Subject: [PATCH] Remove `` tags from translatable string in `WP_Date_Query`. This was missed in [30300]. See #25834. Props ramiy. Fixes #30612. Built from https://develop.svn.wordpress.org/trunk@30751 git-svn-id: http://core.svn.wordpress.org/trunk@30741 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/date.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/date.php b/wp-includes/date.php index 9d59866511..51c5d84b9d 100644 --- a/wp-includes/date.php +++ b/wp-includes/date.php @@ -434,9 +434,9 @@ class WP_Date_Query { if ( ! wp_checkdate( $date_query['month'], $date_query['day'], 2012, sprintf( '2012-%s-%s', $date_query['month'], $date_query['day'] ) ) ) { /* translators: 1: month, 2: day of month */ $day_month_year_error_msg = sprintf( - __( 'The following values do not describe a valid date: month %1$d, day %2$d.' ), - esc_html( $date_query['month'] ), - esc_html( $date_query['day'] ) + __( 'The following values do not describe a valid date: month %1$s, day %2$s.' ), + '' . esc_html( $date_query['month'] ) . '', + '' . esc_html( $date_query['day'] ) . '' ); $valid = false; diff --git a/wp-includes/version.php b/wp-includes/version.php index 39e3d2385f..5f54cf0e92 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30750'; +$wp_version = '4.1-beta2-30751'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.