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

Enqueue admin scripts only if adding or editing a supported post type #231

Merged
merged 1 commit into from Jan 25, 2016

Conversation

rodrigoprimo
Copy link
Contributor

The plugin is enqueueing its admin scripts in all admin pages. This PR adds a check to enqueue admin scripts only if adding or editing a supported post type.

Before this commit the plugin was enqueueing its scripts in all admin pages
philipjohn added a commit that referenced this pull request Jan 25, 2016
Enqueue admin scripts only if adding or editing a supported post type
@philipjohn philipjohn merged commit c6718e6 into Automattic:develop Jan 25, 2016
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.

None yet

2 participants