mirror of
git://develop.git.wordpress.org/
synced 2025-02-26 09:33:46 +01:00
De-Jorbin [33814].
See #23012. git-svn-id: https://develop.svn.wordpress.org/trunk@33845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
622032fece
commit
a3e0e719d6
@ -107,7 +107,7 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||
*/
|
||||
public function update( $new_instance, $old_instance ) {
|
||||
$instance = $old_instance;
|
||||
$instance['title'] = santize_text_field( $new_instance['title'] );
|
||||
$instance['title'] = sanitize_text_field( $new_instance['title'] );
|
||||
$instance['number'] = (int) $new_instance['number'];
|
||||
$instance['show_date'] = isset( $new_instance['show_date'] ) ? (bool) $new_instance['show_date'] : false;
|
||||
$this->flush_widget_cache();
|
||||
|
Loading…
x
Reference in New Issue
Block a user