[wp-trac] [WordPress Trac] #19615: Deprecate get_currentuserinfo()
WordPress Trac
noreply at wordpress.org
Thu Jan 21 16:04:27 UTC 2016
#19615: Deprecate get_currentuserinfo()
-------------------------+-------------------------
Reporter: scribu | Owner: swissspidy
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.5
Component: Users | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-------------------------
Comment (by chris@…):
I get that the pattern is ugly but it is actually the pattern that's still
(as of this posting) the one that's
[https://codex.wordpress.org/Function_Reference/get_currentuserinfo shown
on the codex]. This just seems like change for the sake of change. If a
change ''needs to be made'' I think I'd like to see @dd32's recommendation
done.
A quick grep on my server shows the following 19 plugins that use this
function (some might not be recently updated although I can't imagine
anyone would have swapped this out)
all-in-one-event-calendar
all-in-one-seo-pack
bbpress
connections
contact-form-7-modules
duplicate-post
gigpress
google-analytics-for-wordpress
jetpack
js_composer
js_composer_theme
LayerSlider
nextgen-gallery
share-this
templatera
user-role-editor
user-role-editor-pro
usernoise
wp-to-twitter
We're also seeing this in several pre-built themes like Avada and Jupiter.
There is at least one plugin that actually "plugged" it and that's
[https://wordpress.org/plugins/url-auth/ URL Auth] although it was last
updated 5 years ago.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19615#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list