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

WordPress Trac noreply at wordpress.org
Sun Jan 23 16:45:08 UTC 2022

#36201: Admin Pagination URLs Use Wrong Hostname
 Reporter:  grimmdude                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:
  feedback                                       |  administration

Comment (by jefferyto):

 Replying to [comment:40 timinaust]:
 > I found setting HTTP_HOST caused other redirect issues.  My workaround
 to this - providing you have access to the proxy...
 > Set the proxy to add a header on requests being passed through with the
 request host name, then add the following at the end of wp-config.php.  It
 corrects pagination/sorting for both normal and ajax admin calls.

 Did you try my fix (at https://github.com/WordPress/wordpress-
 develop/pull/1503)? It does not require setting HTTP_HOST.

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

More information about the wp-trac mailing list