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

buddypress-trac noreply at wordpress.org
Mon May 27 16:14:45 UTC 2013


#5025: BUG? bp_the_body_class missing parameter
--------------------------+-----------------------------
 Reporter:  tivnet        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.7
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 This piece of code looks incorrect. $wp_classes does not have a default
 value, so the call bp_get_the_body_class(); should produce at least a
 warning.


 {{{
 function bp_the_body_class() {
         echo bp_get_the_body_class();
 }
         function bp_get_the_body_class( $wp_classes, $custom_classes =
 false ) {

 }}}

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


More information about the buddypress-trac mailing list