[buddypress-trac] [BuddyPress Trac] #6335: Blank pages overload

buddypress-trac noreply at wordpress.org
Tue Mar 31 18:27:06 UTC 2015


#6335: Blank pages overload
--------------------------+----------------------
 Reporter:  danbp         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  highest       |   Milestone:
Component:  API           |     Version:  2.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by r-a-y):

 You should put the `remove_action` line in the theme's functions.php for
 the theme you are currently using.

 Or you can just comment out the `add_action` call like this:
 `//add_action('template_redirect', 'tt_get_comments_status');`

 Or you can (and also tell TrueThemes to) change this line in
 `tt_get_comments_status()` from:

 `if (is_page()) {`

 to:

 `if (is_page() && ! empty( $post->ID ) ) {`

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6335#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list