We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems to affect permastructs which use something other than the post type slug as a prefix. Needs investigating further.
Example:
register_extended_post_type( 'foo', array( 'rewrite' => array( 'permastruct' => '/bar/%foo%/%post_id%' ), ) );
Two of the generated tests fail:
Rewrite Test: index.php?foo=$matches[1]&paged=$matches[2] Rewrite Result: index.php?foo=$matches[1]&p=$matches[2]&page=$matches[3] Matched: bar/(.+?)/([0-9]+)(/[0-9]+)?/?$ Rewrite Test: index.php?foo=$matches[1]&page=$matches[2] Rewrite Result: index.php?foo=$matches[1]&p=$matches[2]&page=$matches[3] Matched: bar/(.+?)/([0-9]+)(/[0-9]+)?/?$
And one rewrite rule is missing a test:
bar/(.+?)/page/?([0-9]{1,})/?$
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Seems to affect permastructs which use something other than the post type slug as a prefix. Needs investigating further.
Example:
Two of the generated tests fail:
And one rewrite rule is missing a test:
The text was updated successfully, but these errors were encountered: