You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
Custom RSS feeds added through the "add_feed" function experience a compatibility issue when the Yoast SEO plugin's setting for prefixing categories in slugs is disabled. With this setting disabled, the custom feeds fail to function as intended. However, if the Yoast SEO plugin is entirely disabled, the custom feeds operate correctly.
Please give us a description of what happened
Custom RSS feeds added through the "add_feed" function experience a compatibility issue when the Yoast SEO plugin's setting for prefixing categories in slugs is disabled. With this setting disabled, the custom feeds fail to function as intended. However, if the Yoast SEO plugin is entirely disabled, the custom feeds operate correctly.
To Reproduce
Step-by-step reproduction instructions
add_feed('last_month', array($this, 'custom_rss_feed_callback_last_month'));
Show the categories prefix in the slug
inwp-admin/admin.php?page=wpseo_page_settings#/taxonomy/categories
/category_name/feed/last_month
, it throws an errorExpected results
Actual results
Screenshots, screen recording, code snippet
Technical info
Used versions
Tasks
The text was updated successfully, but these errors were encountered: