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

Fix admin notice class. #509

Merged
merged 1 commit into from
Jan 5, 2016
Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Jan 5, 2016

Semi-consistent display of the admin notice.

Fixes #478, #495. Props @Ninos, @primozcigler

Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 (lowest WP version currently supported by TGMPA).

I tested both the earlier PRs and still found the display results quite inconsistent across WP versions.
Turned out to be a little more complex altogether to figure out what classes would bring the best balance between consistency and getting the message across.

For posterity, here is an overview of the main differences in display between WP versions and used classes. The blocks highlighted in red are the choices I have now made and implemented.

screenshot

Semi-consistent display of the admin notice.

Fixes #478, #495. Props @Ninos

Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 (lowest WP version currently supported by TGMPA).
@GaryJones GaryJones added this to the 2.6.0 milestone Jan 5, 2016
GaryJones added a commit that referenced this pull request Jan 5, 2016
@GaryJones GaryJones merged commit a6a0b3a into develop Jan 5, 2016
@jrfnl jrfnl deleted the feature/issue-478-495-notice-class branch January 5, 2016 13:19
@jrfnl jrfnl mentioned this pull request Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants