mirror of
git://develop.git.wordpress.org/
synced 2025-07-16 21:21:17 +02:00
Unintended leading whitespace at the beginning of a raw MySQL query led to unexpected behavior such as broken pagination. Eliminating said whitespace avoids that. Adds unit tests to prevent regressions. Props wpfed, swissspidy, ironprogrammer, tadamarketing, afercia. Fixes #56841. git-svn-id: https://develop.svn.wordpress.org/trunk@57750 602fd350-edb4-49c9-b593-d223f7449a82