[wp-trac] Re: [WordPress Trac] #10020: Extra hook needed over in
the widgets
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 3 16:33:18 GMT 2009
#10020: Extra hook needed over in the widgets
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: azaozz
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Widgets | Version: 2.8
Severity: normal | Keywords: has-patch tested commit
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
The second patch also adds a class to the save button.
It's nit-picking, but it allows to fix the following use-case:
- widget has no options
- fields get added
- fields are irrelevant to a specific sidebar
Using trunk, I change $return in the control_callback. Using the patch, I
no longer change it, and I add this instead:
{{{
.widget-control-noform {
display: block;
}
#the_404 .widget-control-noform,
#inline_widgets .widget-control-noform,
#feed_widgets .widget-control-noform {
display: none;
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10020#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list