Filters in Alter Yoast SEO capabilities roles doesn't work
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 15
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
If I use the example code of the filter view_site_health_checks_roles from developer portal, I cannot see it adds the Site health check menu item under WP admin > Tool section for the chosen role. I understand this is from Health Check & Troubleshooting plugin so I have the Health Check & Troubleshooting plugin activated. Once I activate the snippet, I could not see the Site health menu items under tools when I log into my local site as a seo editor or editor.
Also, I tried the wpseo_manage_options_roles filter and could not see the Yoast SEO settings for allowed roles [seo editor]. I can see only redirect and workouts.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the developer portal page for view_site_health_checks_roles and compare its example with the reported behavior in WordPress admin > Tools, using Health Check & Troubleshooting activated. Then check the wpseo_manage_options_roles example for the seo editor role. Done means the documented snippets produce the stated menu and settings access, or the documentation clearly explains the required conditions.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100