Skip to:
Content

bbPress.org

Ticket #3236: 3236.01.patch

File 3236.01.patch, 949 bytes (added by mechter, 3 years ago)

removes span tags from document title (and a tab from an empty line)

  • includes/core/theme-compat.php

     
    458458 * @uses bbp_set_theme_compat_template() To set the global theme compat template
    459459 */
    460460function bbp_template_include_theme_compat( $template = '' ) {
    461        
     461
    462462        /**
    463463         * Bail if a root template was already found. This prevents unintended
    464464         * recursive filtering of 'the_content'.
     
    766766                        'post_date'      => 0,
    767767                        'post_content'   => $new_content,
    768768                        'post_type'      => '',
    769                         'post_title'     => sprintf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ),
     769                        'post_title'     => sprintf( __( 'Topic Tag: %s', 'bbpress' ), bbp_get_topic_tag_name() ),
    770770                        'post_status'    => bbp_get_public_status_id(),
    771771                        'comment_status' => 'closed',
    772772                        'is_tax'         => true