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

WordPress Trac noreply at wordpress.org
Mon Nov 17 16:26:40 UTC 2014


#30363: Add @return to DocBlock on WP_Screen->get_option()
----------------------------+-----------------------------
 Reporter:  dustyf          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  docs            |
----------------------------+-----------------------------
 The PHPdoc docblock for WP_Screen->get_option()
 https://core.trac.wordpress.org/browser/tags/4.0/src/wp-
 admin/includes/screen.php#L646 should have an @return value declared.

 The value returned can be mixed and is dependent on what is set as the
 screen option.

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


More information about the wp-trac mailing list