Filters in Alter Yoast SEO capabilities roles doesn't work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- documentation
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.
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.
- Dominant language
- JavaScript
- Stars
- 15
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
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.
More from Yoast/developer
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Typos Open
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100