[wp-trac] Re: [WordPress Trac] #10013: poorly documented widget args are confusing

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 2 20:09:31 GMT 2009


#10013: poorly documented widget args are confusing
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  azaozz      
     Type:  defect (bug)       |      Status:  new         
 Priority:  high               |   Milestone:  2.8         
Component:  Widgets            |     Version:              
 Severity:  blocker            |    Keywords:  dev-feedback
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  => dev-feedback


Comment:

 this line:

 {{{
                         if ( 'noform' !== $return )
                                 do_action_ref_array( 'in_widget_form',
 array(&$this) ); // add extra fields in the widget form
 }}}

 is very questionable. it means you cannot add extra fields to a form that
 has no fields in the first place.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10013#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list