Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1311 closed defect (bug) (fixed)

Missing argument 2 for bp_get_the_body_class

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

Change History (3)

#1 @laullon
15 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
15 years ago

  • Milestone changed from 1.2 to 1.1.3

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2104]) Fixes #1311

Note: See TracTickets for help on using tickets.