#2319 closed defect (bug) (fixed)
Recent Topics widget settings won't save.
| Reported by: | jaredatch | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.4.1 |
| Component: | API - Widgets | Version: | |
| Severity: | normal | 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
@
13 years ago
I whipped up a patch this morning only to find out you beat me to it :)
Looks good to go for me.
#6
@
13 years ago
- Milestone 2.3.2 → Awaiting Review
- Resolution fixed
- Status closed → reopened
I can repro this with current 2.4 release build, also reported here.
#8
in reply to: ↑ 7
;
follow-up:
↓ 9
@
13 years ago
- Milestone Awaiting Review → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.