Open DrLightman opened 1 year ago
Hello team,
the filter to extend the where sql clause in sitemap:
where
'where' => apply_filters( 'wpseo_posts_where', false, $post_type ),
Shouldn't the false be an empty string like it is in the similar 'wpseo_typecount_where' filter?
$where_filter = apply_filters( 'wpseo_typecount_where', '', $post_type );
It's a minor thing, just a formality maybe.
Thanks.
I talked to one of our devs internally and they agree that this is a point where we can improve. I've added to the backlog of issues for now. Thank you for letting us know.
Hello team,
the filter to extend the
where
sql clause in sitemap:Shouldn't the false be an empty string like it is in the similar 'wpseo_typecount_where' filter?
It's a minor thing, just a formality maybe.
Thanks.