[wp-trac] [WordPress Trac] #36308: get_attached_file() destroys file paths on Windows
WordPress Trac
noreply at wordpress.org
Thu Mar 15 11:27:00 UTC 2018
#36308: get_attached_file() destroys file paths on Windows
-------------------------------------------------+-------------------------
Reporter: Whissi | Owner: stevenlinx
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting
Component: Media | Review
Severity: normal | Version: 4.4.2
Keywords: good-first-bug has-patch has-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by birgire):
In [attachment:36308.4.diff] I adjusted [attachment:36308.3.diff]
according to the ''Coding Standard'' and added more tests to the
{{{test_path_is_absolute()}}} test method.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36308#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list