Changeset 11895 for trunk/src/bp-core/bp-core-filters.php
- Timestamp:
- 03/07/2018 12:27:57 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-filters.php
r11893 r11895 1132 1132 // Make sure we add a <title> tag so WP Customizer picks it up. 1133 1133 $template = str_replace( '<head>', '<head><title>' . esc_html_x( 'BuddyPress Emails', 'screen heading', 'buddypress' ) . '</title>', $template ); 1134 echo str_replace( '{{{content}}}', nl2br( get_post()->post_content ), $template );1134 echo str_replace( '{{{content}}}', wpautop( get_post()->post_content ), $template ); 1135 1135 1136 1136 /*
Note: See TracChangeset
for help on using the changeset viewer.