[wp-trac] [WordPress Trac] #30258: Upload_path can cause a loop after migrating
WordPress Trac
noreply at wordpress.org
Fri Oct 30 08:09:06 UTC 2015
#30258: Upload_path can cause a loop after migrating
----------------------------+------------------------------
Reporter: sowmedia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by JxsDotNL):
* version: 3.7 =>
Comment:
Hi all,
(I originally discovered this issue when working on a project for
@Sowmedia and asked them to report.)
This issue is still present in the current the 4.4 beta available at the
SVN trunk right now. I'll be proposing a patch in a few minutes.
I'll be submitting two options:
- fix-for-ticket-30258-using-basedir.patch - which is the fix I originally
suggested
- fix-for-ticket-30258-cpu-efficient.patch - which uses a temp variable
instead of the basedir function. I believe this is just a little more cpu
efficient.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30258#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list