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

[Develop] Prevent duplicate message showing #249

Merged
merged 2 commits into from
Feb 5, 2015

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Jan 13, 2015

Quite a few themes and plugins which don't have their settings pages under 'options-general' also use settings_errors() to display their notices to the user.

This resulted in the TGMPA messages being shown twice on those pages as reported in #237.

This PR fixes that.

Related: https://core.trac.wordpress.org/ticket/31000

Quite a few themes and plugins which don't have their settings pages under 'options-general' also use `settings_errors()` to display their notices to the user.

This resulted in the TGMPA messages being shown twice on those pages.

This PR fixes that.

Related: https://core.trac.wordpress.org/ticket/31000
@jrfnl jrfnl changed the title Prevent duplicate error messages showing Prevent duplicate message showing Jan 13, 2015
@thomasgriffin
Copy link
Contributor

Would you mind creating this pull request against the master branch? I've not done anything with the develop branch in a while. Indeed, I need to actually remove it as it doesn't quite make sense for this repo.

@jrfnl jrfnl changed the title Prevent duplicate message showing [Develop] Prevent duplicate message showing Jan 13, 2015
@GaryJones
Copy link
Member

Needs a @since tag, and should it be protected not private?

@jrfnl
Copy link
Contributor Author

jrfnl commented Jan 23, 2015

@GaryJones Thanks for the feedback, adjusted. Not sure what the next version nr will be though, so left it at 2.4.x for now.

GaryJones added a commit that referenced this pull request Feb 5, 2015
[Develop] Prevent duplicate message showing
@GaryJones GaryJones merged commit cd066d7 into TGMPA:develop Feb 5, 2015
@jrfnl jrfnl deleted the Prevent-duplicate-admin-notices branch April 21, 2015 08:19
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.

3 participants