Opened 10 years ago
Closed 10 years ago
#30363 closed defect (bug) (fixed)
Add @return to DocBlock on WP_Screen->get_option()
Reported by: | dustyf | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Administration | Keywords: | has-patch |
Focuses: | docs | Cc: |
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)
#2
@
10 years ago
- Milestone changed from Awaiting Review to 4.1
- Version changed from trunk to 3.5
Thanks for the patch.
#3
@
10 years ago
- Owner set to DrewAPicture
- Resolution set to fixed
- Status changed from new to closed
In 30368:
Note: See
TracTickets for help on using
tickets.
Patch to add return value for WP_Screen::get_options()