[wp-trac] [WordPress Trac] #36341: Add a note about the 'init' hook to the DocBlock for get_current_user_id()
WordPress Trac
noreply at wordpress.org
Thu Sep 1 18:26:35 UTC 2016
#36341: Add a note about the 'init' hook to the DocBlock for get_current_user_id()
------------------------------+---------------------------
Reporter: DrewAPicture | Owner: DrewAPicture
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.7
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: docs
------------------------------+---------------------------
Changes (by jorbin):
* keywords: has-patch => has-patch commit
Comment:
If `init` is where things are guaranteed to be ready, that's what we
should promise in the docs. It's possible for things to be ready early,
but `init` seems like a good promise to developers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36341#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list