msm-sitemap
msm-sitemap copied to clipboard
Add a post_status check for performance
- Adds a
post_status
check to an expensive query. - Aligns
post_status
use in the plugin to use the actual public post statuses fromget_post_stati()
.
Thanks for this @srtfisher I believe this is a useful improvement.
We're sorry for the length of time that this PR has been sitting stale.
If you are happy to update this with the latest codebase and address the comment regarding variable name, we'll get this shipped!
Thanks!
@mchanDev great! I just updated this with the latest from main
and a fix for that variable.