Making WordPress.org

Changeset 3914


Ignore:
Timestamp:
09/01/2016 06:48:15 PM (10 years ago)
Author:
jmdodd
Message:

Support Forum: Give replies a title in non-admin context.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-dropin.php

    r3904 r3914  
    3838                add_action( 'bbp_edit_reply',    array( $this, 'bbp_update_reply' ) );
    3939
    40                 remove_filter( 'the_title', 'bbp_get_reply_title_fallback', 2 );
     40                if ( is_admin() ) {
     41                        remove_filter( 'the_title', 'bbp_get_reply_title_fallback', 2 );
     42                }
    4143        }
    4244
Note: See TracChangeset for help on using the changeset viewer.