| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /******/ (() => { // webpackBootstrap 2 /******/ "use strict"; 3 /******/ // The require scope 4 /******/ var __webpack_require__ = {}; 5 /******/ 6 /************************************************************************/ 7 /******/ /* webpack/runtime/define property getters */ 8 /******/ (() => { 9 /******/ // define getter functions for harmony exports 10 /******/ __webpack_require__.d = (exports, definition) => { 11 /******/ for(var key in definition) { 12 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 13 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 14 /******/ } 15 /******/ } 16 /******/ }; 17 /******/ })(); 18 /******/ 19 /******/ /* webpack/runtime/hasOwnProperty shorthand */ 20 /******/ (() => { 21 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 22 /******/ })(); 23 /******/ 24 /************************************************************************/ 25 var __webpack_exports__ = {}; 26 27 // EXPORTS 28 __webpack_require__.d(__webpack_exports__, { 29 "default": () => (/* binding */ deprecated) 30 }); 31 32 // UNUSED EXPORTS: logged 33 34 ;// external ["wp","hooks"] 35 const external_wp_hooks_namespaceObject = window["wp"]["hooks"]; 36 ;// ./node_modules/@wordpress/deprecated/build-module/index.js 37 38 const logged = /* @__PURE__ */ Object.create(null); 39 function deprecated(feature, options = {}) { 40 const { since, version, alternative, plugin, link, hint } = options; 41 const pluginMessage = plugin ? ` from $plugin}` : ""; 42 const sinceMessage = since ? ` since version $since}` : ""; 43 const versionMessage = version ? ` and will be removed$pluginMessage} in version $version}` : ""; 44 const useInsteadMessage = alternative ? ` Please use $alternative} instead.` : ""; 45 const linkMessage = link ? ` See: $link}` : ""; 46 const hintMessage = hint ? ` Note: $hint}` : ""; 47 const message = `$feature} is deprecated$sinceMessage}$versionMessage}.$useInsteadMessage}$linkMessage}$hintMessage}`; 48 if (message in logged) { 49 return; 50 } 51 (0,external_wp_hooks_namespaceObject.doAction)("deprecated", feature, options, message); 52 console.warn(message); 53 logged[message] = true; 54 } 55 56 57 (window.wp = window.wp || {}).deprecated = __webpack_exports__["default"]; 58 /******/ })() 59 ;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu Oct 30 08:20:06 2025 | Cross-referenced by PHPXref |