[wp-trac] [WordPress Trac] #65147: Unit Tests: Add tests for iis7_save_url_rewrite_rules()

WordPress Trac noreply at wordpress.org
Tue Apr 28 21:51:06 UTC 2026


#65147: Unit Tests: Add tests for iis7_save_url_rewrite_rules()
----------------------------+-----------------------------
 Reporter:  pbearne         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 The function iis7_save_url_rewrite_rules() in src/wp-
 admin/includes/misc.php currently lacks unit tests. This ticket covers the
 addition of tests to ensure it correctly manages the web.config file on
 IIS7+ servers, handles multisite status, and correctly adds or deletes
 rules based on the current permalink structure.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65147>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list