humanmade / humanmade/hm-rewrite

Actions after 10 not firing

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
161
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi guys,
Why template redirect (https://github.com/humanmade/hm-rewrite/blob/master/hm-rewrites.php#L194) needs to be on 10 ?
Because WordPress SEO is on 999 (https://github.com/Yoast/wordpress-seo/blob/trunk/wp-seo-main.php#L279 ) to add some og metas.
In my case, all over 10 priority are not firing :(

Contributor guide

Open the contributing guide

Research direction

Start by inspecting hm-rewrites.php around line 194 and compare the referenced WordPress SEO hook in wp-seo-main.php around line 279. Reproduce the priority behavior above 10, determine why those actions do not fire, and verify that the affected rewrite or hook behavior is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.