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

WordPress Trac noreply at wordpress.org
Fri Mar 1 14:50:20 UTC 2024


#56841: WordPress pagination broken after updating to 6.0
-------------------------------------------------+-------------------------
 Reporter:  wpfed                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.5
Component:  Query                                |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:  coding-
  tests                                          |  standards
-------------------------------------------------+-------------------------

Comment (by wpfed):

 Replying to [comment:35 swissspidy]:
 > So to clarify: is only the leading whitespace an issue, or also the
 trailing whitespace? For the latter we'd definitely need to use `trim()`.

 Thank you @swissspidy!! I really appreciate those unit tests.

 To confirm your question, the issue was leading white space. Trailing
 white space was cleaned up for consistency.

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


More information about the wp-trac mailing list