Opened 15 years ago
Closed 15 years ago
#1555 closed defect (bug) (fixed)
php notice when creating first forum
| Reported by: |
|
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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(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.