From 5d259386be035f4ca6807f81c8278bcdb8555dc5 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sat, 6 Dec 2014 02:37:49 +0000 Subject: [PATCH] Remove `` tags from translatable string in `WP_Date_Query`. This was missed in [30300]. See #25834. Props ramiy. Fixes #30612. git-svn-id: https://develop.svn.wordpress.org/trunk@30751 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/date.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/date.php b/src/wp-includes/date.php index 9d59866511..51c5d84b9d 100644 --- a/src/wp-includes/date.php +++ b/src/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;