[wp-trac] [WordPress Trac] #24824: get_attached_file() treats fully qualified URLs as relative
WordPress Trac
noreply at wordpress.org
Wed Dec 6 16:16:24 UTC 2017
#24824: get_attached_file() treats fully qualified URLs as relative
------------------------------------+------------------------------
Reporter: tobiaskochsonlinenet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 2.7
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+------------------------------
Changes (by stevenlinx):
* keywords: dev-feedback => dev-feedback has-patch
Comment:
1.)
Related: [https://core.trac.wordpress.org/ticket/36308 36308] patch fixes
Windows paths and also makes the expression more compact.
2.)
This patch, which adds on top of the patch above, also fixes URL paths by
prevent an URL from going into the relative path conditional.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24824#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list