Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#1311 closed defect (bug) (fixed)

Missing argument 2 for bp_get_the_body_class

Reported by: laullon Owned by:
Priority: major Milestone: 1.1.3
Component: Version:
Severity: Keywords:
Cc:

Description

Change History (3)

#1 @laullon
17 years ago

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();

#2 @apeatling
17 years ago

  • Milestone 1.21.1.3

#3 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [2104]) Fixes #1311

Note: See TracTickets for help on using tickets.