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

WordPress Trac noreply at wordpress.org
Thu Oct 26 16:07:01 UTC 2023


#56841: WordPress pagination broken after updating to 6.0
-------------------------------------------------+-------------------------
 Reporter:  wpfed                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:
Component:  Posts, Post Types                    |     Version:  6.0
 Severity:  major                                |  Resolution:
 Keywords:  has-screenshots needs-testing-info   |     Focuses:
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by wpfed):

 I did a quick test, as mentioned by @tadamarketing, the commit below is
 causing the issue (white signs in requests like \n\t\t\t)

 https://github.com/WordPress/WordPress/commit/6f5f1875749a4425b3133ecddcc9366b432d06aa

 I was able to fix the issue by restoring to the previous code used in wp-
 includes/class-wp-query.php OR using trim:


 {{{
 $this->request = trim($old_request);
 }}}


 So that means I would have to manually edit core files so it works
 properly.

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


More information about the wp-trac mailing list