Remove <code> 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
This commit is contained in:
Boone Gorges 2014-12-06 02:38:22 +00:00
parent 44116d4b72
commit bc35a81482
2 changed files with 4 additions and 4 deletions

View File

@ -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'] ) ) ) { 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 */ /* translators: 1: month, 2: day of month */
$day_month_year_error_msg = sprintf( $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>.' ), __( 'The following values do not describe a valid date: month %1$s, day %2$s.' ),
esc_html( $date_query['month'] ), '<code>' . esc_html( $date_query['month'] ) . '</code>',
esc_html( $date_query['day'] ) '<code>' . esc_html( $date_query['day'] ) . '</code>'
); );
$valid = false; $valid = false;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.