[wp-trac] [WordPress Trac] #36201: Admin Pagination URLs Use Wrong Hostname

WordPress Trac noreply at wordpress.org
Thu Mar 10 21:18:08 UTC 2016


#36201: Admin Pagination URLs Use Wrong Hostname
----------------------------+-----------------------------
 Reporter:  grimmdude       |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 The pagination links on the posts/pages screen uses the wrong host in some
 cases.  Particularly for my case I have a Wordpress blog installed on a
 separate server from my main website, but it's hosted as a subdirectory
 `/blog` on the main site using the `mod_proxy` Apache module.  So the
 pagination links are coming through using the wrong host like this:

 http://1647760595.us-east-1.elb.amazonaws.com/wp-admin/edit.php?paged=2

 It seems like these pagination links are the only ones with this issue,
 and I believe it's because of how they are being constructed.

 I've attached a patch that solves the issue for me.

 -Garrett

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36201>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list