Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates deprecated get_currentuserinfo to wp_get_current_user as list… #1246

Conversation

MsPseudolus
Copy link

Fixes "Required" item listed in issue #844 "get_currentuserinfo() found in the file users.php. Deprecated since version 4.5. Use wp_get_current_user instead. Line 144"

Performed a diff of the var_dump of both get_currentuserinfo() and wp_get_current_user(), and they're identical (as expected).

@MsPseudolus
Copy link
Author

Note to self to check the item off in #844 once this is merged.

@MsPseudolus
Copy link
Author

Closing and will submit new PR with support for older WP versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant