msm-sitemap icon indicating copy to clipboard operation
msm-sitemap copied to clipboard

Add a post_status check for performance

Open srtfisher opened this issue 2 years ago • 2 comments

  • Adds a post_status check to an expensive query.
  • Aligns post_status use in the plugin to use the actual public post statuses from get_post_stati().

srtfisher avatar Nov 04 '22 16:11 srtfisher

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 avatar Aug 18 '23 05:08 mchanDev

@mchanDev great! I just updated this with the latest from main and a fix for that variable.

srtfisher avatar Aug 31 '23 15:08 srtfisher