Opened 12 years ago
Closed 12 years ago
#30363 closed defect (bug) (fixed)
Add @return to DocBlock on WP_Screen->get_option()
| Reported by: | dustyf | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Administration | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
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.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to add return value for WP_Screen::get_options()