[wp-trac] [WordPress Trac] #22790: Duplicating Embed-Codes
WordPress Trac
noreply at wordpress.org
Thu Dec 6 22:08:37 UTC 2012
#22790: Duplicating Embed-Codes
--------------------------+--------------------
Reporter: Bichareh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: TinyMCE | Version: trunk
Severity: critical | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by WraithKenny):
In case anyone would find looking at the output in a readable way:[[BR]]
https://gist.github.com/4228771
A summary of the changes from before to after:
1. <object> loses its id attr.
2. <object> is split in two.
4. the first <object> loses its nested <embed> but retains all <param>s
correctly.
3. the second <object> inherits a bgcolor attr, which previously existed
in only on a <param> and on the <embed>
1. the second <object> has it's codebase attr rewritten to a value not
previously present.
1. the <embed> object loses it's name attr.
1. the second's <param>s appear to be rewritten based on the attrs of the
<embed>: the "movie" and "bgcolor" <param>s are gone, but there's now a
"src" and "pluginspage". It further appears "width", "height", "bgcolor"
where simply hoisted past the <param> rewrite to attr on the object.
This looks to me to be some flash back-compatibility rewrite wrapper
(version 9 down to 6) in TinyMCE. Perhaps this is activated by the
'schema' => 'html5' flag?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22790#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list