[wp-trac] [WordPress Trac] #33821: redirect_canonical does not consider port in $compare_original
WordPress Trac
noreply at wordpress.org
Fri May 9 00:00:39 UTC 2025
#33821: redirect_canonical does not consider port in $compare_original
-------------------------------------------------+-------------------------
Reporter: willshouse | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: Canonical | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs- | Focuses:
test-info |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch needs-unit-tests needs-testing => has-patch needs-
unit-tests needs-test-info
Comment:
== Reproduction Report
=== Description
❌ This report can't validate that the issue can be reproduced.
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.4.6
- Server: nginx/1.27.5
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.4.6)
- Browser: Chrome 136.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.2
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.0
=== Reproduction Steps
1. I'm using the WordPress-Develop `env`. I've created this patch to add
SSL support just for testing purposes: https://github.com/WordPress
/wordpress-develop/pull/8787
2. Setup in `wp-config.php` the HTTPS version including the different port
{{{#!php
define( 'WP_SITEURL', 'https://localhost:8890' );
define( 'WP_HOME', 'https://localhost:8890' );
}}}
3. Navigate to the Administration page (`/wp-admin`)
=== Actual Results
1. ❌ Error condition doesn't occur
=== Additional Notes
- @wojtekn @willshouse can you provide more specific and detailed testing
instructions to replicate this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33821#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list