reptilegrrl
Member
Posted 1 year ago #
I know, that's a long-ass title. But that's what's happening: when I turn "use widget content-filter" on, the widget-logic field vanishes from my widgets admin. I don't see any other change... no new field becomes available.
It's possible I am doing something wrong, as the readme and other notes on the content filter were not clear to me. Can anyone help?
Dachande663
Member
Posted 1 year ago #
I have the same problem but can't see any problems that could be causing it within the code.
ok, yes i'm getting this too. when you change the setting the widget logic field vanishes.
refreshing the page, or clicking the Design > Widgets tab as usual gets the WL field back - it's just when you change the filter option on/off. will investigate.
BTW, ticking the filter option doesn't give you any new fields to play with in the admin interface. it's an optional 'hook' for PHP code in themes. (it's optional in case there are widgets out there that it doesn't work with - i've not found any - or PHP output buffering just fails for any other reason)
ok, i've worked out a fix. i can either put the content filter option in a GET form, or code around it as it stands (in a POST form).
i need to check the codex (or WHEREVER!) to see if stuff on the widgets admin page should be POST forms (or if it matters), and then update the code.
if you want to try the quick fix, it's in function widget_logic_options_filter()
change form method="POST" to form method="GET"
PS, it would be great if anyone reading this KNOWS if it matters if widget admin page options stuff should be POST or GET forms