Opened 8 years ago
Closed 8 years ago
#3188 closed defect (bug) (fixed)
Undefined variables in bbp_past_edit_lock()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General - Content Creation | Keywords: | has-patch |
| Cc: |
Description (last modified by )
$cur_time and $lock_time are passed to the bbp_past_edit_lock filter, but are only defined inside a conditional, leading to notices if the condition is not satisfied:
Notice: Undefined variable: cur_time in bbpress/includes/common/functions.php on line 208 Notice: Undefined variable: lock_time in bbpress/includes/common/functions.php on line 208
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 6782: