Skip to content

Conversation

@pablinos
Copy link
Contributor

Changes proposed in this Pull Request:

We're adding a My Home link to the sidebar options, but that involves an
API call to wpcom. This stores the result in a transient, so we don't
need to keep checking if a site is eligible for My Home or not.

Is this a new feature or does it add/remove features to an existing part of Jetpack?

  • This builds on the My Home link feature

Testing instructions:

Load an admin page for a test site and check that the jetpack_my_home_enabled transient is set correctly.

creativecoder and others added 3 commits October 14, 2019 20:33
We're adding a My Home link to the sidebar options, but that involves an
API call to wpcom. This stores the result in a transient, so we don't
need to keep checking if a site is eligible for My Home or not.
@pablinos pablinos requested review from a team and creativecoder October 21, 2019 06:21
@pablinos pablinos self-assigned this Oct 21, 2019
@jeherve jeherve added the [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations label Oct 21, 2019
@pablinos pablinos changed the title Masterbar: Add caching to the API call for tho My Home link Masterbar: Add caching to the API call for the My Home link Oct 22, 2019
@creativecoder creativecoder force-pushed the add/masterbar--my-home branch from 1f79d79 to d05cf44 Compare October 26, 2019 02:03
@creativecoder
Copy link
Contributor

Thank you! I've incorporated this into #13757

@pablinos
Copy link
Contributor Author

No problem!

@pablinos pablinos closed this Oct 27, 2019
@jeherve jeherve deleted the add/masterbar--my-home-caching branch October 28, 2019 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Masterbar WordPress.com Toolbar and Dashboard customizations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants