[wp-trac] [WordPress Trac] #35344: Strange pagination issue on front page after 4.4.1 update

WordPress Trac noreply at wordpress.org
Fri Jan 8 02:06:50 UTC 2016


#35344: Strange pagination issue on front page after 4.4.1 update
------------------------------------------------------+--------------------
 Reporter:  northeme                                  |       Owner:
     Type:  defect (bug)                              |      Status:  new
 Priority:  normal                                    |   Milestone:  4.4.2
Component:  Query                                     |     Version:  4.4.1
 Severity:  normal                                    |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-testing  |     Focuses:
------------------------------------------------------+--------------------

Comment (by dd32):

 I feel I should mention that crazy if in [attachment:35344.2.diff] is
 built from the existing one there, plus the
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/canonical.php?marks=175#L160 canonical rule far above] which is
 matching to create the issue.

 I'm certain it could probably be made a lot cleaner by using
 `get_queried_object()` and/or `get_queried_object_id()`.

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


More information about the wp-trac mailing list