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

WordPress Trac noreply at wordpress.org
Sat Sep 26 19:46:17 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 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.

 Are they ok?

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


More information about the wp-trac mailing list