Coding Standards: Add missing escaping functions in `wp-admin/export.php`
Props viralsampat. See #58831. Built from https://develop.svn.wordpress.org/trunk@56632 git-svn-id: http://core.svn.wordpress.org/trunk@56144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
25b109a0e5
commit
5cce7674ca
|
@ -160,7 +160,7 @@ function export_date_options( $post_type = 'post' ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$month = zeroise( $date->month, 2 );
|
$month = zeroise( $date->month, 2 );
|
||||||
echo '<option value="' . $date->year . '-' . $month . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>';
|
echo '<option value="' . esc_attr( $date->year ) . '-' . esc_attr( $month ) . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.4-alpha-56631';
|
$wp_version = '6.4-alpha-56632';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue