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

Plugin back-end styles are also loaded in the front-end #33

Closed
githubuserx opened this issue Jul 15, 2018 · 0 comments

Comments

@githubuserx
Copy link
Contributor

commented Jul 15, 2018

I think the plugin's CSS should not be enqueued for the front-end. Please see:

add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueueStyles' ) );
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueueStyles') );

Correct me if I'm wrong, otherwise I'll submit a PR to remove this. Thanks.

@meitar meitar closed this in 48e1b8b Aug 15, 2018

githubuserx added a commit to githubuserx/wp-pgp-encrypted-emails that referenced this issue Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.