Skip to content
Commit d46045ee authored by Pascal Birchler's avatar Pascal Birchler
Browse files

Sitemaps: Do not unnecessarily call `WP_Query::get_posts()` in posts provider.

The posts have already been fetched at this point, no need to do it again.

Props Chouby.
Fixes #50463.
Built from https://develop.svn.wordpress.org/trunk@48282


git-svn-id: https://core.svn.wordpress.org/trunk@48051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent d2aeadaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment