Open kory-northrop opened 3 years ago
The filter only works on posts, not on any other posttypes. And from my own testing, that looks to work correctly. Can you verify that this bug is about other posttypes than normal posts?
I did not know that this filter was only for the "post" post_type, I was trying to use it with the "page" post_type. However, I just tried using it for "Posts" on our staging site with all plugins deactivated and the Twenty Twenty One theme enabled and am still not getting the filter to actually limit the returned posts to those with matching Focus Keywords.
Please give us a description of what happened.
The seo_kw_filter option does not properly filter results, it returns all posts instead. I tested with all other plugins disabled as well. I saw a similar ticket (#7772) that was supposed to be resolved via #9354, but I'm finding that the issue still exists.
Please describe what you expected to happen and why.
I expect the post table to display only posts that match the seo_kw_filter parameter's value.
How can we reproduce this behavior?
Make sure you have a few posts that have the same Focus Keyword
Edit one of the posts and click the warning about other posts using the same keyword.
Follow the link to see that the filter is added to the URL, but the post results are not actually filtered. The same is true if you manually add the seo_kw_filter URL parameter with other filters (e.g. http://example.com/wp-admin/edit.php?seo_kw_filter=education&post_type=page)
Used versions