[wp-trac] [WordPress Trac] #65134: Unit Tests: Add tests for got_mod_rewrite()
WordPress Trac
noreply at wordpress.org
Mon Apr 27 17:45:14 UTC 2026
#65134: Unit Tests: Add tests for got_mod_rewrite()
----------------------------+-----------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
The function got_mod_rewrite() in src/wp-admin/includes/misc.php currently
lacks unit tests. This ticket covers the addition of comprehensive unit
tests for this function, ensuring it correctly detects Apache mod_rewrite
support and respects the 'got_rewrite' filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65134>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list