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

Eliminate obsolete re-validation when switching template modes #5100

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

westonruter
Copy link
Member

Summary

Now that we no longer show a success/failure message specific to when changing the template mode, the logic that does this should be removed, at least for now. At present this code primarily just serves to slow down the user's request to switch template modes. The success/error messages that are currently being added via add_settings_error() are not being displayed.

In the near future, most likely part of #4719 or #4795, we'll need to add a site compatibility component to switching template modes on the settings screen.

Checklist

  • My pull request is addressing an open issue (please create one otherwise).
  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@github-actions
Copy link
Contributor

Plugin builds for 5865b05 are ready 🛎️!

@westonruter westonruter merged commit 159fe41 into develop Jul 27, 2020
@westonruter westonruter deleted the remove/mode-switch-revalidation branch July 27, 2020 20:40
@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Aug 1, 2020
@westonruter westonruter added the WS:UX Work stream for UX/Front-end label Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes. cla: yes Signed the Google CLA WS:UX Work stream for UX/Front-end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants