Skip to:
Content

bbPress.org

Opened 15 years ago

Closed 15 years ago

#1555 closed defect (bug) (fixed)

php notice when creating first forum

Reported by: djpaul's profile DJPaul Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General - Administration Keywords:
Cc:

Description

With WP_DEBUG, when creating the first forum, the form doesn't send a 'parent_id' value. This causes a php notice in bbp_new_forum_admin_handler.

Tested on r3309

Attachments (1)

1555.patch (639 bytes) - added by DJPaul 15 years ago.

Download all attachments as: .zip

Change History (2)

@DJPaul
15 years ago

#1 @johnjamesjacoby
15 years ago

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

(In [3310]) Remove unused bbp_new_forum_admin_handler() function, and move $parent_id check into metabox_save(). Fixes #1555. Props DJPaul for original catch.

Note: See TracTickets for help on using tickets.