[wp-trac] [WordPress Trac] #65146: Unit Tests: Add tests for save_mod_rewrite_rules()
WordPress Trac
noreply at wordpress.org
Tue Apr 28 21:35:02 UTC 2026
#65146: Unit Tests: Add tests for save_mod_rewrite_rules()
----------------------------+-----------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
The function save_mod_rewrite_rules() 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 manages
the .htaccess file based on multisite status, server support, and rewrite
rules provided by the WP_Rewrite component.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65146>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list