Skip to content

Restrict plugin to the post editor - #81

Merged
alecgeatches merged 8 commits into
trunkfrom
restrict-plugin-to-new-post-editor
Jul 26, 2024
Merged

Restrict plugin to the post editor#81
alecgeatches merged 8 commits into
trunkfrom
restrict-plugin-to-new-post-editor

Conversation

@ingeniumed

@ingeniumed ingeniumed commented Jul 24, 2024

Copy link
Copy Markdown
Contributor

Description

Steps to Test

  1. Set up a restricted rules file
  2. Load the twentytwentyone theme
  3. Go to the widgets screen and ensure the rules don't load
  4. Go and edit a post/page, or create a new one and ensure the rules load
  5. Go to the site editor and ensure the rules don't load

@ingeniumed
ingeniumed requested a review from a team as a code owner July 24, 2024 03:35
@ingeniumed ingeniumed self-assigned this Jul 25, 2024

@alecgeatches alecgeatches 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.

@ingeniumed this works well! Tested with a widget-enabled theme (twentytwentyone as suggested) and this branch fixed the PR. Also tested the ordinal changes which work fine. Thank you!

@alecgeatches
alecgeatches merged commit 206d5d4 into trunk Jul 26, 2024
@alecgeatches
alecgeatches deleted the restrict-plugin-to-new-post-editor branch July 26, 2024 18:43
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.

Governance rules interfering with the Widget Editor

2 participants