mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Prevent classid="clsid:undefined". props SergeyBiryukov. see #23876.
git-svn-id: https://develop.svn.wordpress.org/trunk@23896 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c735c265a2
commit
55955c2087
@ -575,10 +575,9 @@
|
||||
type: typeItem.mimes[0]
|
||||
});
|
||||
} else {
|
||||
object.attr({
|
||||
classid: "clsid:" + typeItem.clsids[0],
|
||||
codebase: typeItem.codebase
|
||||
});
|
||||
if ( typeItem.clsids )
|
||||
object.attr('clsid', typeItem.clsids[0]);
|
||||
object.attr('codebase', typeItem.codebase);
|
||||
|
||||
embed = new Node('embed', 1);
|
||||
embed.shortEnded = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user