Skip to content

Rename cap group to clarify its intent#125

Merged
dtakken merged 1 commit into
mainfrom
rename-seo-capgroup
May 29, 2026
Merged

Rename cap group to clarify its intent#125
dtakken merged 1 commit into
mainfrom
rename-seo-capgroup

Conversation

@dtakken

@dtakken dtakken commented May 28, 2026

Copy link
Copy Markdown
Contributor

Rename cap group to clarify its intent

Copilot AI review requested due to automatic review settings May 28, 2026 07:39
@dtakken dtakken requested review from a team as code owners May 28, 2026 07:39
@dtakken dtakken changed the title Replace 'wpseo' capabilities with 'seo_redirections' Rename cap group to clarify its intent May 28, 2026

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 renames the capability-group key used for Yoast/SEO redirection-related permissions from wpseo to seo_redirections to better reflect the intent of the group within the theme’s user role configuration.

Changes:

  • Update the superuser role to reference the renamed capability group (seo_redirections).
  • Rename the capability group definition key from wpseo to seo_redirections while keeping the underlying capabilities unchanged.

@dtakken dtakken force-pushed the rename-seo-capgroup branch from f99587e to 1745d40 Compare May 29, 2026 07:53
@dtakken dtakken merged commit e05f066 into main May 29, 2026
2 checks passed
@dtakken dtakken deleted the rename-seo-capgroup branch May 29, 2026 07:54
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.

5 participants