[wp-trac] [WordPress Trac] #56841: WordPress pagination broken after updating to 6.0

WordPress Trac noreply at wordpress.org
Sat Mar 2 13:36:17 UTC 2024


#56841: WordPress pagination broken after updating to 6.0
---------------------------------------------+-------------------------
 Reporter:  wpfed                            |       Owner:  swissspidy
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.5
Component:  Query                            |     Version:  6.0
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57750" 57750]:
 {{{
 #!CommitTicketReference repository="" revision="57750"
 Query: Remove leading whitespace from certain database queries.

 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56841#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list