[wp-trac] [WordPress Trac] #65225: tests: Add unit tests for wp_ajax_date_format()

WordPress Trac noreply at wordpress.org
Tue May 12 22:04:22 UTC 2026


#65225: tests: Add unit tests for wp_ajax_date_format()
----------------------------+-----------------------------
 Reporter:  pbearne         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  tests           |
----------------------------+-----------------------------
 The function wp_ajax_date_format() in src/wp-admin/includes/ajax-
 actions.php currently lacks unit test coverage. This task involves adding
 tests to verify that it correctly handles date format validation and
 returns the expected response.

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


More information about the wp-trac mailing list