mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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:
parent
44116d4b72
commit
bc35a81482
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user