[wp-trac] [WordPress Trac] #11115: Path (file) in postmeta is incorrect after editing image
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 10 12:10:46 UTC 2009
#11115: Path (file) in postmeta is incorrect after editing image
--------------------------+-------------------------------------------------
Reporter: waltervos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Media | Version: 2.9
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by waltervos):
On Linux the behaviour is a little different. After editing the image, the
file attribute in _wp_attachment_metadata is changed to the absolute path
(instead of a relative path such as 2009/11/DSC_100.JPG), starting with a
/ also. Restoring the original image doesn't change that and
_wp_attached_file stays the same as when first uploaded. The image can
also still be edited afterwards the corrupt _wp_attached_metadata was
introduced (probably because _wp_attached_file is used).
I'd like to add that I'm using PHP5 on both setups.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11115#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list