[wp-trac] [WordPress Trac] #20063: Incorrect PHPDoc for get_current_screen
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 17 20:01:53 UTC 2012
#20063: Incorrect PHPDoc for get_current_screen
--------------------------+-----------------------------
Reporter: markauk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3.1
Severity: minor | Keywords:
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20063>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list