#2319 closed defect (bug) (fixed)
Recent Topics widget settings won't save.
Reported by: | jaredatch | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | API - Widgets | Keywords: | has-patch |
Cc: |
Description
Reported here http://bbpress.org/forums/topic/recent-topics-widget-2/
Tested on trunk and was able to replicate the issue.
Parent Forum ID, Show post date, and Show topic author don't save correctly. I know this was working at some point so I'm not quite sure what happened.
Attachments (2)
Change History (14)
#3
@
12 years ago
I whipped up a patch this morning only to find out you beat me to it :)
Looks good to go for me.
#4
@
12 years ago
- Owner set to johnjamesjacoby
- Resolution set to fixed
- Status changed from new to closed
In 4885:
#6
@
11 years ago
- Milestone changed from 2.3.2 to Awaiting Review
- Resolution fixed deleted
- Status changed from closed to reopened
I can repro this with current 2.4 release build, also reported here.
#8
in reply to:
↑ 7
;
follow-up:
↓ 9
@
11 years ago
- Milestone changed from Awaiting Review to 2.4.1
Replying to alex-ye:
@netweb can you test the above patch?
Done, looks good and works as expected, makes sense from the code I was looked at earlier.
Well, It's not Recent Topics widget only you can test the check-boxes in the Replies widget.
The patch below do this:
1- Fix the Parent Forum ID bug in the Topics widget.
2- Add a value for the check-box input, and and correct the use of checked() function.
3- Change the use of esc_url to esc_url_raw during the save.