Update WordPress to 5.2
This commit is contained in:
parent
489b5a5914
commit
e00f87f2f5
599 changed files with 119573 additions and 55990 deletions
18
wp-includes/js/dist/html-entities.js
vendored
18
wp-includes/js/dist/html-entities.js
vendored
|
|
@ -82,18 +82,32 @@ this["wp"] = this["wp"] || {}; this["wp"]["htmlEntities"] =
|
|||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 276);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 342);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 276:
|
||||
/***/ 342:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decodeEntities", function() { return decodeEntities; });
|
||||
var _decodeTextArea;
|
||||
/**
|
||||
* Decodes the HTML entities from a given string.
|
||||
*
|
||||
* @param {string} html String that contain HTML entities.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const result = decodeEntities( 'á' );
|
||||
* console.log( result ); // result will be "á"
|
||||
* ```
|
||||
*
|
||||
* @return {string} The decoded string.
|
||||
*/
|
||||
|
||||
|
||||
function decodeEntities(html) {
|
||||
// not a string, or no entities to decode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue