Opened 12 years ago
Closed 12 years ago
#5112 closed defect (bug) (fixed)
Duplicate referer field when using BP_Group_Extension
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 1.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Groups | Keywords: | has-patch |
Cc: |
Description
When using the BP_Group_Extension, the maybe_create_screen() method makes two calls to wp_nonce_field():
- One via the nonce_field() method
- One directly
Both calls are currently also calling wp_referer_field(), resulting in duplicate fields. The third parameter of wp_nonce_field() is whether or not to automatically create this field, so the solution is to pass false into one of them (most likely the direct call.)
Patch attached.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 7302: