Make WordPress Core


Ignore:
Timestamp:
12/20/2014 10:46:53 PM (10 years ago)
Author:
wonderboymusic
Message:

For clarity, initialize some arrays that previously were only assigned via short circuit in loops.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-widgets.php

    r30281 r30982  
    12671267
    12681268    public function update( $new_instance, $old_instance ) {
     1269        $instance = array();
    12691270        $instance['title'] = strip_tags(stripslashes($new_instance['title']));
    12701271        $instance['taxonomy'] = stripslashes($new_instance['taxonomy']);
Note: See TracChangeset for help on using the changeset viewer.