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

Plans: Make sure the option we store plan info in is autoloaded in the single autoload options query when not in the cache. #11133

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

westi
Copy link
Contributor

@westi westi commented Jan 12, 2019

This ensures that we can't end up with a cached notoption if we try and query the option before it is set.

Changes proposed in this Pull Request:

  • Sets autoload=true when updating the option value

Testing instructions:

  • Check that we no longer make individual options queries for this option

Proposed changelog entry for your changes:

Not needed

…e single autoload options query when not in the cache.

This ensures that we can't end up with a cached notoption if we try and query the option before it is set.
@westi westi added [Status] Needs Review To request a review from Crew. Label will be renamed soon. Plans labels Jan 12, 2019
@westi westi requested a review from a team as a code owner January 12, 2019 21:52
@jetpackbot
Copy link

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

Scheduled Jetpack release: February 5, 2019.
Scheduled code freeze: January 29, 2019

Generated by 🚫 dangerJS against 6b828b1

@jeherve jeherve added this to the 7.0 milestone Jan 17, 2019
@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review To request a review from Crew. Label will be renamed soon. labels Jan 18, 2019
Copy link
Member

@jeherve jeherve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be good to merge. 🚢

@jeherve jeherve merged commit 71f5d7f into master Jan 25, 2019
@jeherve jeherve deleted the fix/plan-option-autoload branch January 25, 2019 13:56
@ghost ghost removed the [Status] Ready to Merge Go ahead, you can push that green button! label Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants