Remove <code> tags from translatable string in WP_Date_Query.

This was missed in [30300]. See .

Props ramiy.
Fixes .

git-svn-id: https://develop.svn.wordpress.org/trunk@30751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2014-12-06 02:37:49 +00:00
parent 5b6c00274d
commit 5d259386be

@ -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 <code>%1$d</code>, day <code>%2$d</code>.' ),
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.' ),
'<code>' . esc_html( $date_query['month'] ) . '</code>',
'<code>' . esc_html( $date_query['day'] ) . '</code>'
);
$valid = false;