Opened 2 years ago
Last modified 7 days ago
#59272 new defect (bug)
wp-admin search/column order not working when running not on port 80
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 6.3.1 |
| Component: | Administration | Keywords: | needs-patch |
| Focuses: | administration | Cc: |
Description
Hey,
we are currently running WP 6.3.1 internally on a different port ( localhost:8182 ).
WordPress itself works without problems.
Only when you on the wp-admin page search for a keyword in a CPT or change the order, the port gets deleted from the URL.
I found following part of the core source where the problem happens:
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-list-table.php#L1381
Would be nice to respect the site url from the settings or not delte the port when used.
Note: See
TracTickets for help on using
tickets.
Testing this against the
7.0-alpha-61215-srctrunk and it works fine on localhost:8889If I dump the
$current_urlvariable out, I'm getting:http://localhost:8889/wp-admin/edit.php?orderby=title&order=asc&s=test&post_status=all&post_type=test&action=-1&m=0&action2=-1
for the heading sort.
@canic This ticket is a few years old now. Is this still a problem you're encountering?