- Timestamp:
- 11/15/2017 06:58:26 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
-
wp-admin/edit-form-advanced.php (modified) (1 diff)
-
wp-includes/js/tinymce/tinymce.js (modified) (2 diffs)
-
wp-includes/version.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r41829 r42191 640 640 'wp_autoresize_on' => $_wp_editor_expand, 641 641 'add_unload_trigger' => false, 642 'wp_keep_scroll_position' => true,642 'wp_keep_scroll_position' => ! $is_IE, 643 643 ), 644 644 ) ); ?> -
trunk/src/wp-includes/js/tinymce/tinymce.js
r41604 r42191 16387 16387 16388 16388 function (Arr, Option, Element, NodeTypes, Error, document) { 16389 /*16390 * There's a lot of code here; the aim is to allow the browser to optimise constant comparisons,16391 * instead of doing object lookup feature detection on every call16392 */16393 var STANDARD = 0;16394 var MSSTANDARD = 1;16395 var WEBKITSTANDARD = 2;16396 var FIREFOXSTANDARD = 3;16397 16398 var selectorType = (function () {16399 var test = document.createElement('span');16400 // As of Chrome 34 / Safari 7.1 / FireFox 34, everyone except IE has the unprefixed function.16401 // Still check for the others, but do it last.16402 return test.matches !== undefined ? STANDARD :16403 test.msMatchesSelector !== undefined ? MSSTANDARD :16404 test.webkitMatchesSelector !== undefined ? WEBKITSTANDARD :16405 test.mozMatchesSelector !== undefined ? FIREFOXSTANDARD :16406 -1;16407 })();16408 16409 16410 16389 var ELEMENT = NodeTypes.ELEMENT; 16411 16390 var DOCUMENT = NodeTypes.DOCUMENT; … … 16417 16396 // As of Chrome 34 / Safari 7.1 / FireFox 34, everyone except IE has the unprefixed function. 16418 16397 // Still check for the others, but do it last. 16419 else if ( selectorType === STANDARD) return elem.matches(selector);16420 else if ( selectorType === MSSTANDARD) return elem.msMatchesSelector(selector);16421 else if ( selectorType === WEBKITSTANDARD) return elem.webkitMatchesSelector(selector);16422 else if ( selectorType === FIREFOXSTANDARD) return elem.mozMatchesSelector(selector);16398 else if (elem.matches !== undefined) return elem.matches(selector); 16399 else if (elem.msMatchesSelector !== undefined) return elem.msMatchesSelector(selector); 16400 else if (elem.webkitMatchesSelector !== undefined) return elem.webkitMatchesSelector(selector); 16401 else if (elem.mozMatchesSelector !== undefined) return elem.mozMatchesSelector(selector); 16423 16402 else throw new Error('Browser lacks native selectors'); // unfortunately we can't throw this on startup :( 16424 16403 }; -
trunk/src/wp-includes/version.php
r42127 r42191 19 19 * @global string $tinymce_version 20 20 */ 21 $tinymce_version = '4607-2017 0918';21 $tinymce_version = '4607-20171115'; 22 22 23 23 /**
Note: See TracChangeset
for help on using the changeset viewer.