Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Fix Disable Asset Ver when loaded asset is false #99

Merged
merged 1 commit into from Jul 2, 2015

Conversation

QWp6t
Copy link
Sponsor Member

@QWp6t QWp6t commented Jun 30, 2015

Sometimes the $src passed to remove_script_version($src) is false. In these instances, it should return false instead of a URL.

I noticed this in the admin panel. If I went to the plugins page, for example, it would try loading plugins.php as a stylesheet.

This resolves that issue.

Sometimes the `$src` passed to `remove_script_version($src)` is `false`. In these instances, it should return false instead of a URL.
retlehs added a commit that referenced this pull request Jul 2, 2015
Fix Disable Asset Ver when loaded asset is false
@retlehs retlehs merged commit 93bcc28 into master Jul 2, 2015
@retlehs retlehs deleted the QWp6t-fixassetver branch July 2, 2015 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants