#20063 closed defect (bug) (fixed)
Incorrect PHPDoc for get_current_screen
| Reported by: | markauk | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Inline Docs | Version: | 3.3.1 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
The PHPDoc documentation for get_current_screen doesn't properly define the type of object which is returned. It should be:-
* @return object WP_Screen
Patch attached.
Obviously this doesn't make any difference to the running of the code, but will make life easier for anyone with IDE's which parse PHPDoc comments.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Since we can name the specific class it could be: