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

Fix misspelled class in warning text #2206

Closed
wants to merge 1 commit into from

Conversation

BrianHenryIE
Copy link

No description provided.

@jrfnl
Copy link
Member

jrfnl commented Feb 15, 2023

@BrianHenryIE Thanks for your willingness to contribute, however, this is not a misspelling. See: https://developer.wordpress.org/reference/classes/wp_role/

@BrianHenryIE
Copy link
Author

BrianHenryIE commented Feb 15, 2023

Ah, both WP_Role::add_cap() and WP_Roles::add_cap() exist. I thought the s was misplaced.

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

Successfully merging this pull request may close these issues.

None yet

2 participants