Skip to content

Updated reference to prettify.js to load the script in the footer.#60

Merged
stephenharris merged 1 commit intostephenharris:masterfrom
grantpalin:master
Nov 29, 2014
Merged

Updated reference to prettify.js to load the script in the footer.#60
stephenharris merged 1 commit intostephenharris:masterfrom
grantpalin:master

Conversation

@grantpalin
Copy link
Copy Markdown
Contributor

No description provided.

stephenharris added a commit that referenced this pull request Nov 29, 2014
Updated reference to prettify.js to load the script in the footer.
@stephenharris stephenharris merged commit 7145c31 into stephenharris:master Nov 29, 2014
@stephenharris
Copy link
Copy Markdown
Owner

Merged, but I think in practise it does enqueue in the footer. Every instance (I think) of wp_enqueue_script() is called after the header, so the variable shouldn't make any difference (but I've not checked).

@grantpalin
Copy link
Copy Markdown
Contributor Author

In my case the script was in the header. I found it while testing my site with speed testing tools. Once I amended the plugin with the true parameter, the script went to the bottom. FWIW.

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.

2 participants