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

issue-66: Support registering assets to the wp dependency registry #67

Open
wants to merge 8 commits into
base: production
Choose a base branch
from

Conversation

renatonascalves
Copy link
Contributor

@renatonascalves renatonascalves commented Dec 19, 2024

fixes #66

This PR adds support for registering assets to the WordPress dependency registry as part of the efforts to enhance the query monitor functionality. Additionally, it includes unit tests to ensure the reliability of this new feature.

@renatonascalves renatonascalves marked this pull request as ready for review January 15, 2025 18:36
@renatonascalves renatonascalves changed the title issue-66: WIP add-assets-to-query-monitor issue-66: Support registering assets to the wp dependency registry Jan 15, 2025
Copy link

@mogmarsh mogmarsh left a comment

Choose a reason for hiding this comment

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

👍

Comment on lines +436 to +438
} elseif ( version_compare( $GLOBALS['wp_version'], '6.3', '<' ) ) {
// If this is for a script, pass the in_footer argument when on a version prior to 6.3.
$enqueue_options = $args['in_footer'];

Choose a reason for hiding this comment

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

do we even want to support < 6.3 anymore? It came out over 17 months ago

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.

Add assets to Query Monitor
2 participants