[wp-trac] [WordPress Trac] #65242: Test: Add unit tests for wp_ajax_logged_in()

WordPress Trac noreply at wordpress.org
Thu May 14 20:32:53 UTC 2026


#65242: Test: Add unit tests for wp_ajax_logged_in()
----------------------------+-----------------------------
 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_logged_in() in src/wp-admin/includes/ajax-actions.php
 currently lacks unit test coverage. This task involves adding tests to
 verify its behavior for both logged-in and logged-out users.

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


More information about the wp-trac mailing list