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

Fix instagram infinite loop bug #19034

Merged
merged 1 commit into from
Mar 5, 2021
Merged

Conversation

glendaviesnz
Copy link
Contributor

@glendaviesnz glendaviesnz commented Mar 4, 2021

Changes proposed in this Pull Request:

Jetpack product discussion

Primary issue: #19038

Does this pull request change what data or activity we track or use?

No

Testing instructions:

  • Add instagram latest posts block along with latest gutenberg plugin release and make sure block operates as normal

Proposed changelog entry for your changes:

  • Removes the notices dependency in the customhook useEffect as changes in the notices dependency shouldn't cause the api calls to rerun.

@glendaviesnz glendaviesnz added [Type] Bug When a feature is broken and / or not performing as intended [Block] Latest Instagram Posts labels Mar 4, 2021
@glendaviesnz glendaviesnz self-assigned this Mar 4, 2021
@matticbot
Copy link
Contributor

Caution: This PR has changes that must be merged to WordPress.com
Hello glendaviesnz! These changes need to be synced to WordPress.com - If you 're an a11n, please commandeer and confirm D58161-code works as expected before merging this PR. Once this PR is merged, please commit the changes to WP.com. Thank you!
This revision will be updated with each commit to this PR

@github-actions github-actions bot added the [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ label Mar 4, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2021

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ All commits were linted before commit.
  • ✅ Add a "[Status]" label (In Progress, Needs Team Review, ...).
  • ✅ Add testing instructions.
  • ✅ Include a changelog entry for any meaningful change.
  • ✅ Specify whether this PR includes any changes to data or privacy.

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


If you are an automattician, once your PR is ready for review add the "[Status] Needs Team review" label and ask someone from your team review the code.
Once you’ve done so, switch to the "[Status] Needs Review" label; someone from Jetpack Crew will then review this PR and merge it to be included in the next Jetpack release.undefined


jetpack plugin:

  • Next scheduled release: April 6, 2021.
  • Scheduled code freeze: March 29, 2021

@github-actions github-actions bot added the [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! label Mar 4, 2021
@glendaviesnz glendaviesnz marked this pull request as ready for review March 5, 2021 00:59
@glendaviesnz glendaviesnz added [Status] Needs Team Review and removed [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! labels Mar 5, 2021
@github-actions github-actions bot added the [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! label Mar 5, 2021
@glendaviesnz
Copy link
Contributor Author

@jeherve, fyi this was an urgent bug fix and the wpcom diff has bee deployed by @fullofcaffeine

@jeherve jeherve added this to the 9.5.2 milestone Mar 5, 2021
@jeherve jeherve added [Status] Needs Cherry-Pick and removed [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! labels Mar 5, 2021
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 tests well for me. Merging.

@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Team Review labels Mar 5, 2021
@jeherve
Copy link
Member

jeherve commented Mar 5, 2021

r222177-wpcom

@jeherve jeherve merged commit 34f95e0 into master Mar 5, 2021
@jeherve jeherve deleted the fix/instragram-inifinite-loop-bug branch March 5, 2021 10:31
@matticbot matticbot added [Status] Needs Changelog and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Mar 5, 2021
jeherve pushed a commit that referenced this pull request Mar 5, 2021
@jeherve
Copy link
Member

jeherve commented Mar 5, 2021

Cherry-picked to jetpack/branch-9.5 in 5583f8d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Latest Instagram Posts [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ Touches WP.com Files [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants