Skip to content

Replace get_userdata() with get_authordata() #10308

Open
jonnynews wants to merge 2 commits intoWordPress:trunkfrom
spacedmonkey:fix/wp_author-1
Open

Replace get_userdata() with get_authordata() #10308
jonnynews wants to merge 2 commits intoWordPress:trunkfrom
spacedmonkey:fix/wp_author-1

Conversation

@jonnynews
Copy link
Copy Markdown

Replace get_userdata() with get_authordata() for optimized user data retrieval and introduce short initialization in WP_User.

Trac ticket: https://core.trac.wordpress.org/ticket/58001


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

…ata retrieval and introduce short initialization in `WP_User`.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 16, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @jonnynews.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

Core Committers: Use this line as a base for the props when committing in SVN:

Props spacedmonkey.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

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.

2 participants