Skip to content

Blog Settings: Updates sections when model changes. - #4777

Merged
aerych merged 2 commits into
developfrom
issues/4768-refresh-blog-settings
Feb 5, 2016
Merged

Blog Settings: Updates sections when model changes.#4777
aerych merged 2 commits into
developfrom
issues/4768-refresh-blog-settings

Conversation

@aerych

@aerych aerych commented Feb 4, 2016

Copy link
Copy Markdown
Contributor

Closes #4768

This is a bug fix for #4768. To fix the odd settings state I've borrowed the the BlogDetails vc the same approach it uses and added an observer to model changes. It feels a bit heavy handed but doesn't seem to have any negative visual side effects, and it is more reliable than listening for the default wpcom account change notification.

To test:

  • Repeat the steps described in the issue and confirm the blog settings screen always shows options consistent with the type of blog being shown.

Needs review: @kurzee

@aerych aerych added this to the 6.0 milestone Feb 4, 2016
@kurzee

kurzee commented Feb 5, 2016

Copy link
Copy Markdown
Contributor

@aerych code looks good and testing shows the issue resolved. :shipit:

@aerych

aerych commented Feb 5, 2016

Copy link
Copy Markdown
Contributor Author

Thanks @kurzee !

aerych added a commit that referenced this pull request Feb 5, 2016
Blog Settings: Updates sections when model changes.
@aerych
aerych merged commit 882b7d4 into develop Feb 5, 2016
@aerych
aerych deleted the issues/4768-refresh-blog-settings branch February 5, 2016 03:10
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.

Site Settings not updated after connecting to WordPress.com account.

2 participants