[wp-trac] [WordPress Trac] #30363: Add @return to DocBlock on WP_Screen->get_option()

WordPress Trac noreply at wordpress.org
Mon Nov 17 17:07:21 UTC 2014


#30363: Add @return to DocBlock on WP_Screen->get_option()
----------------------------+---------------------------
 Reporter:  dustyf          |       Owner:  DrewAPicture
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.1
Component:  Administration  |     Version:  3.5
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30368"]:
 {{{
 #!CommitTicketReference repository="" revision="30368"
 Add a missing `@return` description for `WP_Screen::get_option()`.

 Also declare the default value for the `$key` parameter.

 Props dustyf for the initial patch.
 Fixes #30363.
 }}}

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


More information about the wp-trac mailing list