Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up scaffolding_scripts_and_styles() #68

Merged
merged 2 commits into from
Apr 23, 2014

Conversation

michaeldcain
Copy link
Contributor

I believe that the wp_enqueue_scripts hook only fires on the front-end, so there isn't really a need for the is_admin() check. Also wp_enqueue_script/style() will take care of registering the script/style, so there's no need to register and enqueue separately.

rclations pushed a commit that referenced this pull request Apr 23, 2014
Clean up `scaffolding_scripts_and_styles()`
@rclations rclations merged commit 030dbe1 into crosspeaksoftware:master Apr 23, 2014
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