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

WordPress Trac noreply at wordpress.org
Tue Apr 28 22:04:13 UTC 2026


#65148: Unit Tests: Add tests for iis7_rewrite_rule_exists()
----------------------------+-----------------------------
 Reporter:  pbearne         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 The function iis7_rewrite_rule_exists() in src/wp-admin/includes/misc.php
 lacks unit tests. This ticket covers adding tests to ensure it correctly
 detects the presence of WordPress rewrite rules within an IIS web.config
 file using XPath.

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


More information about the wp-trac mailing list