[wp-trac] [WordPress Trac] #8205: [9663] causes uploads to be
stored in /uploads/0000/00/
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 13 23:16:11 GMT 2008
#8205: [9663] causes uploads to be stored in /uploads/0000/00/
----------------------------+-----------------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.7
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
[9663] Store uploads according to the parent post date when using year/
month sub-directories
results in this for $uploads when attaching to a draft:
{{{
array
'path' => string 'C:\www\wordpress/wp-content/uploads/0000/00'
(length=43)
'url' => string 'http://localhost/wordpress/wp-content/uploads/0000/00'
(length=53)
'subdir' => string '/0000/00' (length=8)
'basedir' => string 'C:\www\wordpress/wp-content/uploads' (length=35)
'baseurl' => string 'http://localhost/wordpress/wp-content/uploads'
(length=45)
'error' => boolean false
}}}
It appears that _gmt's are not set for drafts, Not sure if the problem is
the drafts, or the uploader for not taking it into consideration.
--
Ticket URL: <http://trac.wordpress.org/ticket/8205>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list