stephenharris / WP-MarkDown

WP-MarkDown plug-in. Allows Markdown to be enabled in posts, comments and bbPress forums.
http://wordpress.org/extend/plugins/wp-markdown/
112 stars 19 forks source link

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

Closed grantpalin closed 9 years ago

stephenharris commented 9 years ago

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 commented 9 years ago

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.