Skip to content

WP.EnqueuedResources: bug fix#1644

Merged
GaryJones merged 1 commit into
developfrom
feature/enqueuedresources-bug-fix
Feb 13, 2019
Merged

WP.EnqueuedResources: bug fix#1644
GaryJones merged 1 commit into
developfrom
feature/enqueuedresources-bug-fix

Conversation

@jrfnl

@jrfnl jrfnl commented Feb 13, 2019

Copy link
Copy Markdown
Member

Identified by @joyously in the ThemeReviewCS repo: WPTT/WPThemeReview#202

When inline jQuery is used to reference a stylesheet link tag, the sniff misidentifies this as a stylesheet which needs to be enqueued.

This very simple fix should prevent that, at least for the reported cases.

Includes unit test.

Identified by joyously in the ThemeReviewCS repo: WPTRT/WPThemeReview 202

When inline JQuery is used to reference a stylesheet link tag, the sniff misidentifies this as a stylesheet which needs to be enqueued.

This very simple fix should prevent that, at least for the reported cases.

Includes unit test.
@GaryJones GaryJones merged commit b6d7052 into develop Feb 13, 2019
@GaryJones GaryJones deleted the feature/enqueuedresources-bug-fix branch February 13, 2019 12:19
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.

2 participants