Skip to:
Content

BuddyPress.org

Changeset 10616


Ignore:
Timestamp:
02/19/2016 05:33:26 PM (8 years ago)
Author:
r-a-y
Message:

Emails: Add <title> tag to the WP Customizer and admin email preview.

Props offereins.

See #6198.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r10611 r10616  
    11021102    ob_end_clean();
    11031103
     1104    // Make sure we add a <title> tag so WP Customizer picks it up.
     1105    $template = str_replace( '<head>', '<head><title>' . esc_html_x( 'BuddyPress Emails', 'screen heading', 'buddypress' ) . '</title>', $template );
    11041106    echo str_replace( '{{{content}}}', nl2br( get_post()->post_content ), $template );
    11051107
Note: See TracChangeset for help on using the changeset viewer.