mirror of
git://develop.git.wordpress.org/
synced 2025-04-13 16:42:00 +02:00
Avoid duplicated query when retrieving empty posts collections by adding a check if the page is more than 1. Props furi3r, gdetassigny, TimothyBlynJacobs, spacedmonkey. Fixes #55677. git-svn-id: https://develop.svn.wordpress.org/trunk@53498 602fd350-edb4-49c9-b593-d223f7449a82