[buddypress-trac] [BuddyPress Trac] #7314: Buddypress issue with Twenty Sixteen menu

buddypress-trac noreply at wordpress.org
Thu Nov 3 18:38:24 UTC 2016

#7314: Buddypress issue with Twenty Sixteen menu
 Reporter:  DarkWolf      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Templates     |     Version:  2.7
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |

Comment (by hnla):

 Well it wouldn't hurt to have a check available in buddypress-
 functions.php or core somewhere for that matter  for active wp theme.

 As for removing classes, my only worry is if styles had been hooked to it.

 2015, 2016, 2017 all have this class on the html element fwiw.

 @r-a-y  lets add a check then? my crude approach `$this->wp_theme =
 strtolower( str_replace( ' ', '', wp_get_theme() ) );` and I guess an
 array of twenty* themes with that class to check against.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7314#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list