[wp-trac] [WordPress Trac] #36382: Document both return values of get_current_screen

WordPress Trac noreply at wordpress.org
Mon May 23 16:33:25 UTC 2016


#36382: Document both return values of get_current_screen
----------------------------+---------------------------
 Reporter:  screamingdev    |       Owner:  DrewAPicture
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.6
Component:  Administration  |     Version:  4.4.2
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------------
Changes (by DrewAPicture):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37534"]:
 {{{
 #!CommitTicketReference repository="" revision="37534"
 Docs: Update the return notation for `get_current_screen()` to note that
 `null` can also be returned if the screen has not been defined.

 Props screamingdev.
 Fixes #36382.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36382#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list