Skip to:
Content

bbPress.org

Changeset 6884


Ignore:
Timestamp:
12/20/2018 08:08:11 PM (6 years ago)
Author:
johnjamesjacoby
Message:

Topic Tags: remove extraneous span tag from topic-tag titles when theme-compat is employed.

This change removes a span tag that was originally required before support for topic-tag-edit templates was added.

Props mechter. Fixes #3236.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/theme-compat.php

    r6814 r6884  
    792792            'post_content'   => $new_content,
    793793            'post_type'      => '',
    794             'post_title'     => sprintf( esc_html__( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ),
     794            'post_title'     => sprintf( esc_html__( 'Topic Tag: %s', 'bbpress' ), bbp_get_topic_tag_name() ),
    795795            'post_status'    => bbp_get_public_status_id(),
    796796            'is_tax'         => true,
Note: See TracChangeset for help on using the changeset viewer.