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

WordPress Trac noreply at wordpress.org
Wed May 6 21:38:43 UTC 2026


#65186: Tests: Add unit tests for extract_from_markers()
----------------------------+-----------------------------
 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 extract_from_markers()
 function in wp-admin/includes/misc.php. The tests will cover extracting
 content between custom markers, handling missing files, empty markers, and
 various line formats (including comments).

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


More information about the wp-trac mailing list