[wp-trac] [WordPress Trac] #34027: Improve method documentation for WP_Widget_Text

WordPress Trac noreply at wordpress.org
Sat Sep 26 20:30:31 UTC 2015


#34027: Improve method documentation for WP_Widget_Text
----------------------------------------+-------------------
 Reporter:  DrewAPicture                |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.4
Component:  Widgets                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  docs
----------------------------------------+-------------------

Comment (by DrewAPicture):

 Replying to [comment:4 leemon]:
 > Thanks for the clarification, Drew! You may have guessed that I'm a
 newbie.
 >
 > Before creating the new patches, I'd like to be sure about the strings
 to use:
 >
 > `__construct()`: Creates a new {type} widget instance.
 > `widget()`: Echoes the current {type} widget instance content.
 > `update()`: Handles updating settings for the current {type} widget
 instance.
 > `form()`: Outputs the current {type} widget instance settings update
 form.
 >
 > What do you think?
 >

 Works for me :-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34027#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list