[buddypress-trac] [BuddyPress] #1311: Missing argument 2 for bp_get_the_body_class

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Nov 4 08:17:16 UTC 2009


#1311: Missing argument 2 for bp_get_the_body_class
--------------------+-------------------------------------------------------
Reporter:  laullon  |       Owner:     
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  1.2
Keywords:           |  
--------------------+-------------------------------------------------------

Comment(by laullon):

 this my solution.

 File: bp-core-templatestags.php

 < function bp_get_the_body_class( $wp_classes, $custom_classes ) {
 ---
 > function bp_get_the_body_class( $wp_classes, $custom_classes="" ) {
 1732c1732
 < $wp_classes = (array) $custom_classes;
 ---
 > $wp_classes += (array) $custom_classes;
 1734c1734
 < $wp_classes = array();
 ---
 > $wp_classes += array();

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


More information about the buddypress-trac mailing list