[buddypress-trac] [BuddyPress] #5025: BUG? bp_the_body_class missing parameter

buddypress-trac noreply at wordpress.org
Mon May 27 16:21:12 UTC 2013


#5025: BUG? bp_the_body_class missing parameter
--------------------------+------------------
 Reporter:  tivnet        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  lowest        |   Milestone:  1.8
Component:  Core          |     Version:  1.7
 Severity:  trivial       |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by boonebgorges):

 * priority:  normal => lowest
 * severity:  normal => trivial
 * milestone:  Awaiting Review => 1.8


Comment:

 I'm not sure why we have a function `bp_the_body_class()` in the first
 place - the `_get_` version should be all we need, since it filters
 another value, and is not meant to be called directly. In any case, you're
 current that we should either have a default value, or in
 `bp_the_body_class()` we should be passing a value for the first param.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5025#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list