Skip to content

Conversation

ArjunSaluja
Copy link

@ArjunSaluja ArjunSaluja commented Sep 27, 2025

Fixes #2189

This PR introduces a fallback mechanism that displays locally installed
plugin cards when requests to WordPress.org plugin API fail or are blocked.

Copy link

github-actions bot commented Sep 27, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @ArjunSaluja.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: ArjunSaluja.

Co-authored-by: westonruter <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link

codecov bot commented Sep 27, 2025

Codecov Report

❌ Patch coverage is 0% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.39%. Comparing base (4f17dd7) to head (37c4217).

Files with missing lines Patch % Lines
...ab/modules/plugin-management/plugin-management.php 0.00% 35 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            trunk    #2192      +/-   ##
==========================================
- Coverage   68.68%   68.39%   -0.30%     
==========================================
  Files          90       91       +1     
  Lines        8093     8128      +35     
==========================================
  Hits         5559     5559              
- Misses       2534     2569      +35     
Flag Coverage Δ
multisite 68.39% <0.00%> (-0.30%) ⬇️
single 35.26% <0.00%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@westonruter
Copy link
Member

There is already a pull request in progress to address this issue: #2190

@ArjunSaluja
Copy link
Author

ArjunSaluja commented Sep 27, 2025 via email

@westonruter
Copy link
Member

But did you see that existing PR? It would be a shame to duplicate work. Please review that PR and check to see if there is anything missing based on what you've done here. Please add suggestions to that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show cards for installed plugins when external requests are disabled (or there is a network error)

2 participants