[wp-trac] [WordPress Trac] #65174: Add unit tests for update_recently_edited()

WordPress Trac noreply at wordpress.org
Tue May 5 21:35:38 UTC 2026


#65174: Add unit tests for update_recently_edited()
----------------------------+-----------------------------
 Reporter:  pbearne         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 This ticket adds unit tests for the update_recently_edited() function in
 wp-admin/includes/misc.php. These tests ensure that the function correctly
 manages the list of recently edited files in the recently_edited option,
 maintaining order and a maximum of 5 items.

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


More information about the wp-trac mailing list