Skip to content

Optimized sites listing caching - #499

Merged
selul merged 3 commits into
developmentfrom
bugfix/498
Jul 28, 2026
Merged

Optimized sites listing caching#499
selul merged 3 commits into
developmentfrom
bugfix/498

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Check before Pull Request is ready:

Closes #498

@girishpanchal30
girishpanchal30 requested a review from Copilot July 22, 2026 07:44
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jul 22, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Jul 22, 2026
@pirate-bot

pirate-bot commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Plugin build for 1af41e8 is ready 🛎️!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Prevents repeated Starter Sites catalog writes during routine requests.

Changes:

  • Writes the transient only after remote fetches.
  • Loads site listings only for authorized admin flows.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
includes/Sites_Listing.php Avoids rewriting fresh cached data.
includes/Main.php Moves catalog setup behind the capability check.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread includes/Main.php
Comment thread includes/Sites_Listing.php
@selul
selul merged commit 787ba62 into development Jul 28, 2026
7 checks passed
@selul
selul deleted the bugfix/498 branch July 28, 2026 12:51
@pirate-bot

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.4.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants