Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: https://develop.svn.wordpress.org/trunk@5604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
91d0e796ef
commit
7e281b4507
2
wp-includes/js/prototype.js
vendored
2
wp-includes/js/prototype.js
vendored
@ -24,7 +24,7 @@ var Prototype = {
|
||||
document.createElement('form').__proto__)
|
||||
},
|
||||
|
||||
ScriptFragment: '<script[^>]*>([\u0001-\uFFFF]*?)</script>',
|
||||
ScriptFragment: '<script[^>]*>([\\s\\S]*?)<\/script>',
|
||||
JSONFilter: /^\/\*-secure-\s*(.*)\s*\*\/\s*$/,
|
||||
|
||||
emptyFunction: function() { },
|
||||
|
Loading…
Reference in New Issue
Block a user