[wp-trac] [WordPress Trac] #65173: Add unit tests for saveDomDocument()
WordPress Trac
noreply at wordpress.org
Tue May 5 21:29:40 UTC 2026
#65173: Add unit tests for saveDomDocument()
----------------------------+-----------------------------
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 saveDomDocument() function in wp-
admin/includes/misc.php. These tests ensure that the function correctly
saves a DOMDocument to a file and properly converts line endings to CRLF.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65173>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list