Make WordPress Core

Changeset 33845


Ignore:
Timestamp:
09/01/2015 03:47:16 PM (9 years ago)
Author:
wonderboymusic
Message:

De-Jorbin [33814].

See #23012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-recent-posts.php

    r33843 r33845  
    108108    public function update( $new_instance, $old_instance ) {
    109109        $instance = $old_instance;
    110         $instance['title'] = santize_text_field( $new_instance['title'] );
     110        $instance['title'] = sanitize_text_field( $new_instance['title'] );
    111111        $instance['number'] = (int) $new_instance['number'];
    112112        $instance['show_date'] = isset( $new_instance['show_date'] ) ? (bool) $new_instance['show_date'] : false;
Note: See TracChangeset for help on using the changeset viewer.