Make WordPress Core

Ticket #6216: minortypo-in-widget-php.patch

File minortypo-in-widget-php.patch, 703 bytes (added by nerrad, 18 years ago)

Fixes a typo: 'contine' instead of 'continue'

  • wp-includes/widgets.php

     
    13071307        foreach ( array_keys($options) as $o ) {
    13081308                // Old widgets can have null values for some reason
    13091309                if ( !isset($options[$o]['url']) || !isset($options[$o]['title']) || !isset($options[$o]['items']) )
    1310                         contine;
     1310                        continue;
    13111311                $id = "rss-$o"; // Never never never translate an id
    13121312                wp_register_sidebar_widget($id, $name, 'wp_widget_rss', $widget_ops, array( 'number' => $o ));
    13131313                wp_register_widget_control($id, $name, 'wp_widget_rss_control', $control_ops, array( 'number' => $o ));