[wp-trac] [WordPress Trac] #65135: Unit Tests: Add tests for got_url_rewrite()
WordPress Trac
noreply at wordpress.org
Mon Apr 27 18:05:49 UTC 2026
#65135: Unit Tests: Add tests for got_url_rewrite()
----------------------------+-----------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
The function got_url_rewrite() in src/wp-admin/includes/misc.php currently
lacks unit tests. This PR adds tests to ensure it correctly identifies URL
rewriting support across Apache, nginx, IIS, and Caddy, and respects the
'got_url_rewrite' filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65135>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list