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

Fixed calendar admin screen style embedding if no Event Categories are defined. #110

Merged
merged 1 commit into from
Jul 24, 2013

Conversation

markisadesignerd
Copy link
Contributor

The current logic only embeds the admin calendar styles if there are categories. I just pulled the style embedding logic out of that if block.

I also removed a stray double quote.

To reproduce:

Start with a fresh install or delete all categories.
Navigate to the Calendar Admin View
Result is an unstyled calendar.

Tested on WP 3.5.2 and Event Organiser 2.2.

…e defined, as well as a stray double quote.
stephenharris added a commit that referenced this pull request Jul 24, 2013
Fixed calendar admin screen style embedding if no Event Categories are defined.
@stephenharris stephenharris merged commit 18931e6 into stephenharris:master Jul 24, 2013
@stephenharris
Copy link
Owner

Ooops :S, didn't mean to move the wp_enqueue_style() inside that conditional... Thanks for the PR!

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