Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a post_status check for performance #169

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

srtfisher
Copy link

  • 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().

msm-sitemap.php Outdated Show resolved Hide resolved
@mchanDev
Copy link
Contributor

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!

@srtfisher
Copy link
Author

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

@srtfisher srtfisher requested a review from mchanDev August 31, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants