WordPress.org

Plugin Directory

Changeset 797340


Ignore:
Timestamp:
11/01/13 17:48:53 (4 years ago)
Author:
tmoorewp
Message:

Subscriptions: Subscribe Widget: Run the title through the widget_title filter.

Fixes #1731

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/subscriptions.php

    r771781 r797340  
    575575 
    576576        echo $args['before_widget']; 
    577         echo $args['before_title'] . '<label for="subscribe-field">' . esc_attr( $instance['title'] ) . '</label>' . $args['after_title'] . "\n"; 
     577        echo $args['before_title'] . '<label for="subscribe-field">' . esc_attr( apply_filters( 'widget_title', $instance['title'] ) ) . '</label>' . $args['after_title'] . "\n"; 
    578578 
    579579        $referer = ( is_ssl() ? 'https' : 'http' ) . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 
Note: See TracChangeset for help on using the changeset viewer.