WordPress.org

Make WordPress Core

Ticket #7084: 7084.diff

File 7084.diff, 556 bytes (added by Denis-de-Bernardy, 9 years ago)

add filter to all widget titles

  • wp-includes/default-filters.php

     
    7676
    7777// Format strings for display.
    7878$filters = array('comment_author', 'term_name', 'link_name', 'link_description',
    79         'link_notes', 'bloginfo', 'wp_title');
     79        'link_notes', 'bloginfo', 'wp_title', 'widget_title');
    8080foreach ( $filters as $filter ) {
    8181        add_filter($filter, 'wptexturize');
    8282        add_filter($filter, 'convert_chars');