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

wp_admin_notice isn't recognized as a function #2839

Open
jakeparis opened this issue Apr 3, 2024 · 0 comments
Open

wp_admin_notice isn't recognized as a function #2839

jakeparis opened this issue Apr 3, 2024 · 0 comments

Comments

@jakeparis
Copy link

Describe the bug
wp_admin_notice(), which was added in WordPress 6.4 (Nov 2023), isn't recognized by this plugin as a valid function.

On the other hand, I wonder if there's something unusual going on with the WordPress developer documentation page for that function, because the function doc also doesn't show up on https://devdocs.io/wordpress/.


To Reproduce

  1. Ensure that "wordpress" is added to the intelephense stubs setting.
  2. Open a php file and type <?php wp_admin_notice(); .

Expected behavior
The wp_admin_notice function is NOT marked as unrecognized.

Screenshots
Screenshot 2024-04-03 at 10 58 24 AM

Platform and version
Mac OSX, Intelephense plugin version v1.10.4

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

No branches or pull requests

1 participant