Opened 13 years ago
Closed 13 years ago
#20562 closed defect (bug) (duplicate)
Table pagination does not respect WP_SITEURL
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
The pagination, such as when you move through multiple pages of posts, uses the requested URL, which does not always match the specified URL in wp-config.
This causes a problem when wordpress is behind a proxy, for instance.
This can be easily fixed.
In wp-admin/includes/class-wp-list-table.php
On line 492:
Change -
$current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
to-
$current_url = bloginfo('url') . $_SERVER['REQUEST_URI'];
Change History (1)
Note: See
TracTickets for help on using
tickets.
#19216 (and #18944)