[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 16:48:19 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):
As an update to this, I've also tested r8621 from trunk for this, with the
same results.
I've even taken this as far as modifying wp-includes/post.php so that if
the meta_key was _wp_attachment_metadata, running serialize on the data
and skipping the call to maybe_serialize.
That also failed to produce data which was able to be unserialized as
well, which results in an overall symptom in the browser where (with
r8621) all image size buttons are disabled, with "full size" being the
only option available (and selected by default).
Which all comes back down, after tracing back all functions, to the data
failing to be unserialized.
If the data array can't be directly serialized, that would lead me to
think that perhaps there is some type of malformed data within the array
and it causes it to be serialized improperly, resulting in a failure when
trying to unserialize.
--
Ticket URL: <http://trac.wordpress.org/ticket/7495#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list