[wp-trac] [WordPress Trac] #65192: Tests: Add unit tests for wp_admin_canonical_url()

WordPress Trac noreply at wordpress.org
Thu May 7 15:32:39 UTC 2026


#65192: Tests: Add unit tests for wp_admin_canonical_url()
----------------------------+-----------------------------
 Reporter:  pbearne         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 This ticket adds comprehensive unit tests for the wp_admin_canonical_url()
 function in wp-admin/includes/misc.php. The tests will cover the default
 URL generation, handling of query parameters, and the
 wp_admin_canonical_url filter.

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


More information about the wp-trac mailing list