WordPress.org

Make WordPress Core

Changeset 5519


Ignore:
Timestamp:
05/22/07 22:36:56 (7 years ago)
Author:
rob1n
Message:

Run it through the filter. see #4259

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/widgets.php

    r5517 r5519  
    524524    $options = get_option('widget_text'); 
    525525    $title = $options[$number]['title']; 
    526     $text = $options[$number]['text']; 
     526    $text = apply_filters( 'widget_text', $options[$number]['text'] ); 
    527527?> 
    528528        <?php echo $before_widget; ?> 
  • trunk/wp-includes/widgets.php

    r5518 r5519  
    524524    $options = get_option('widget_text'); 
    525525    $title = $options[$number]['title']; 
    526     $text = $options[$number]['text']; 
     526    $text = apply_filters( 'widget_text', $options[$number]['text'] ); 
    527527?> 
    528528        <?php echo $before_widget; ?> 
Note: See TracChangeset for help on using the changeset viewer.