Skip to content

Refresh Resources: Member Content: Include Forms#1082

Merged
n7studios merged 4 commits intoblock-editor-settings-sidebar-refresh-buttonsfrom
include-forms-in-refresh-restrict-content-resource
Apr 27, 2026
Merged

Refresh Resources: Member Content: Include Forms#1082
n7studios merged 4 commits intoblock-editor-settings-sidebar-refresh-buttonsfrom
include-forms-in-refresh-restrict-content-resource

Conversation

@n7studios
Copy link
Copy Markdown
Contributor

Summary

Clicking the refresh resources button for Member Content would result in the Forms section not populating (Tags and Products would re-populate), due to the refresh_resources() method not fetching Forms.

This wasn't caught previously, as Forms were a later addition to Member Content and tests weren't updated to check that Forms exist once a Member Content field's refresh button was clicked.

Testing

  • Updates tests in RefreshResourcesButtonCest to confirm that the expected Form is selectable when refreshing the Member Content setting across the Classic Editor, Block Editor, Bulk Edit and Quick Edit.

Checklist

@n7studios n7studios self-assigned this Apr 24, 2026
@n7studios n7studios added the bug label Apr 24, 2026
@github-actions
Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team April 24, 2026 13:59
@n7studios n7studios marked this pull request as ready for review April 24, 2026 13:59
Copy link
Copy Markdown

@ciccio-kit ciccio-kit left a comment

Choose a reason for hiding this comment

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

LGTM ✅

…lude-forms-in-refresh-restrict-content-resource
@github-actions
Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios merged commit 9038322 into block-editor-settings-sidebar-refresh-buttons Apr 27, 2026
168 of 172 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants