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: admin_enqueue_scripts callback should expect a possible null value passed to it #3057

Conversation

jasonbahl
Copy link
Collaborator

What does this implement/fix? Explain your changes.

This updates the enqueue_admin_assets callback to expect a possible null value for the argument passed from do_action( 'admin_enqueue_scripts' );

Does this close any currently open issues?

closes #3056

…argument don't throw errors. It's supposed to pass a string, but it's been reported to not always pass a string.
@jasonbahl jasonbahl self-assigned this Feb 22, 2024
josephfusco
josephfusco previously approved these changes Feb 22, 2024
Copy link
Member

@josephfusco josephfusco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the linting issues are resolved this one is good!

Copy link

codeclimate bot commented Feb 23, 2024

Code Climate has analyzed commit 7093cc8 and detected 0 issues on this pull request.

View more on Code Climate.

@jasonbahl
Copy link
Collaborator Author

fyi, tests are failing due to #3060

@jasonbahl jasonbahl merged commit a2cab54 into wp-graphql:develop Feb 23, 2024
8 of 22 checks passed
@jasonbahl jasonbahl mentioned this pull request Feb 23, 2024
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.

Can't move attendees in Events Calendar due to fatal errors caused by $hook_suffix type
2 participants