[wp-trac] Re: [WordPress Trac] #7495: Insert image into post always
inserts full size.
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 12 17:39:12 GMT 2008
#7495: Insert image into post always inserts full size.
----------------------+-----------------------------------------------------
Reporter: lunabyte | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.6.1
Component: General | Version: 2.6
Severity: major | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by lunabyte):
Another update.
Tracked this down to problems with images that have image_meta associated
with them.
The array is fully constructed, but when serialized it fails to fully
serialize the data, which results in the string not being able to be
unserialized. wp_specialchars had no affect on the data.
The particular image_meta portion of the array (prior to serialization)
resembles the following, confidential details replaced with dummy text:
{{{
[image_meta] => Array
(
[aperture] => 4
[credit] => Fname MI. Lname/My Service
[camera] => Canon EOS-1D Mark II N
[caption] => Month Day, Year - Continue on with about a 100
char description here...
[created_timestamp] => 1202676120
[copyright] => ©My Company, Inc. (Alt Co. Title)
--ALL RIGHTS RESERVED--
contact: sales at domain.tld
http://www.domain/.tld
[focal_length] => 300
[iso] => 200
[shutter_speed] => 0.0003125
[title] =>
)
}}}
What it appears to be is an incompatible data format. Whether it's
conflicting with utf8, or whatever the case may be.
--
Ticket URL: <http://trac.wordpress.org/ticket/7495#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list