Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/27/2011 08:21:46 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Change behavior of bbp_is_topic_tag() to not include when editing a tag. Improvements to topic tag edit logic, and display Edit link in breadcrumb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-compatibility.php

    r3434 r3462  
    773773        elseif ( bbp_is_reply_edit()       && ( $new_template = bbp_get_reply_edit_template()       ) ) :
    774774
    775         // Editing a topic tag
     775        // Viewing a topic tag
    776776        elseif ( bbp_is_topic_tag()        && ( $new_template = bbp_get_topic_tag_template()        ) ) :
    777777
     
    910910            // Reset the post with our new title
    911911            bbp_theme_compat_reset_post( array(
    912                 'post_title' => sprintf( __( 'Edit Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' )
     912                'post_title' => sprintf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' )
    913913            ) );
    914914
Note: See TracChangeset for help on using the changeset viewer.