sureswiftcapital / WP-Google-Calendar-Events

Legacy version/fork of the Google Calendar Events 2.4 WordPress plugin. Intended for backwards compatibility only.
https://wordpress.org/plugins/legacy-google-calendar-events/
29 stars 18 forks source link

Can no longer dequeue stylesheet with wp_print_styles action #31

Closed martinburchell closed 9 years ago

martinburchell commented 9 years ago

In my theme I dequeue the default google calendar events style sheet with a 'wp_print_styles' action.

Since 2.2.1 the style sheet is enqueued again in the 'the_posts' filter. As a workaround I can also dequeue the style sheet with a 'the_posts' filter but this doesn't seem optimal to me.

pderksen commented 9 years ago

How about we add an option to disable all plugin CSS (independent of the JS)? We've done this for other plugins.

martinburchell commented 9 years ago

That would be fine. In fact I think there used to be an option to do this.