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

WordPress Trac noreply at wordpress.org
Tue Nov 7 08:40:33 UTC 2023


#56841: WordPress pagination broken after updating to 6.0
--------------------------+-------------------------------
 Reporter:  wpfed         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by afercia):

 * keywords:  needs-testing-info needs-patch => needs-patch
 * focuses:   => coding-standards
 * component:  Posts, Post Types => Query


Comment:

 Cc: @SergeyBiryukov @jrf
 It appears
 https://github.com/WordPress/WordPress/commit/6f5f1875749a4425b3133ecddcc9366b432d06aa
 impacted specific server setups with load balancing, where an sql string
 that includes line breaks and tab characters can be problematic. I'm
 guessing especially with new lines and tabs ''at the beginning'' of the
 query string, as in:


 {{{
 "
                                         SELECT  ...
 }}}

 as opposed to previous strings:


 {{{
 "SELECT  ...
 }}}

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


More information about the wp-trac mailing list