dxw / dxw-security-wp-plugin

A WordPress plugin which pulls in security reviews of other plugins from https://security.dxw.com and displays them on the plugins page and dashboard
http://wordpress.org/plugins/dxw-security/
2 stars 0 forks source link

Embed enqueue_scripts. The better way ;) #2

Closed sergejmueller closed 10 years ago

dgmstuart commented 10 years ago

Hi. This looks nice and clean, but the codex explicitly says not to use admin_print_scripts to enqueue styles or scripts: http://codex.wordpress.org/Plugin_API/Action_Reference/admin_print_scripts

I'm guessing this is because they might not get enqueued in the correct order.

sergejmueller commented 10 years ago

If you do not agree, you can delete my request ;)

harry-m commented 10 years ago

Ooh, neat. I like it!

dgmstuart commented 10 years ago

Sorry - forgot about this one - I've merged in your second suggestion - nice and clean :)

dgmstuart commented 10 years ago

This is included in version 0.2.7 https://github.com/dxw/dxw-security-wp-plugin/tree/Version_0.2.7

sergejmueller commented 10 years ago

:+1: