Skip to content

fix(faustwp): clarify wp.org updater-exclusion intent in code and verifier#2424

Merged
josephfusco merged 3 commits into
canaryfrom
fix/faustwp-clarify-updater-exclusion
Jun 16, 2026
Merged

fix(faustwp): clarify wp.org updater-exclusion intent in code and verifier#2424
josephfusco merged 3 commits into
canaryfrom
fix/faustwp-clarify-updater-exclusion

Conversation

@josephfusco

Copy link
Copy Markdown
Member

Rewords the conditional require comment in faustwp.php to state the wp.org-only execution rule explicitly, qualifies the 1.5.0 self-update CHANGELOG entry as non-wordpress.org-only so it stays correctly scoped if it rotates into readme.txt, and adds a defense-in-depth assertion in verify-published-plugin.sh that the wp.org-published artifact contains no self-update files.

…ifier

Reword the file_exists comment in faustwp.php so the wp.org-only execution
rule is explicit, qualify the 1.5.0 self-update changelog entry so historical
mentions rotated into readme.txt carry the right scope, and add an explicit
verifier assertion that the wp.org artifact contains no self-update files.
@changeset-bot

changeset-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 60f5617

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@josephfusco josephfusco marked this pull request as ready for review June 16, 2026 16:10
@josephfusco josephfusco requested a review from a team as a code owner June 16, 2026 16:10
@josephfusco josephfusco requested a review from Copilot June 16, 2026 16:10
@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @faustwp/getting-started-example

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR clarifies the intended “no self-updater on WordPress.org” behavior for the FaustWP plugin by tightening in-code explanations, scoping a changelog note so it remains accurate if surfaced in readme.txt, and adding an extra verification guard to ensure the published wp.org artifact does not include external updater infrastructure.

Changes:

  • Adds a defense-in-depth check in verify-published-plugin.sh to assert wp.org-installed artifacts do not contain the embedded self-updater files.
  • Rewords the updater require comment in faustwp.php to explain when those files should be present.
  • Qualifies the 1.5.0 changelog entry to explicitly apply only to non-wp.org distributions.

Reviewed changes

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

File Description
scripts/verify-published-plugin.sh Adds an additional assertion to fail verification if self-updater files are present in the installed (wp.org) artifact.
plugins/faustwp/faustwp.php Updates comments around optional updater file loading to clarify distribution expectations.
plugins/faustwp/CHANGELOG.md Adjusts the 1.5.0 entry to scope self-updater functionality to non-wp.org distributions.

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

Comment thread plugins/faustwp/faustwp.php Outdated
Comment thread plugins/faustwp/CHANGELOG.md Outdated
josephfusco and others added 2 commits June 16, 2026 12:38
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@josephfusco josephfusco merged commit 9efd377 into canary Jun 16, 2026
14 checks passed
@josephfusco josephfusco deleted the fix/faustwp-clarify-updater-exclusion branch June 16, 2026 16:39
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.

2 participants