PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9.1
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9.1
4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 All 141 releases
← All changes | assets/js/dist/blocks/course-instructor.js +34 -19 4.3.8 → 4.4.9.1 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ "use strict";
3 3 /******/ var __webpack_modules__ = ({
4 4
@@ -107,13 +107,13 @@
107 107 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
108 108 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
109 109 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/data */ "@wordpress/data");
110 110 /* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
111 -/**
112 - * Check if the block can be loaded in the current template.
113 - *
114 - * @since 4.2.8.4
115 - * @version 1.0.0
111 +/**
112 + * Check if the block can be loaded in the current template.
113 + *
114 + * @since 4.2.8.4
115 + * @version 1.0.0
116 116 */
117 117
118 118
119 119 let currentPostIdOld = null;
@@ -224,19 +224,19 @@
224 224
225 225 /******/ });
226 226 /************************************************************************/
227 227 /******/ // The module cache
228 -/******/ var __webpack_module_cache__ = {};
228 +/******/ const __webpack_module_cache__ = {};
229 229 /******/
230 230 /******/ // The require function
231 231 /******/ function __webpack_require__(moduleId) {
232 232 /******/ // Check if module is in cache
233 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
233 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
234 234 /******/ if (cachedModule !== undefined) {
235 235 /******/ return cachedModule.exports;
236 236 /******/ }
237 237 /******/ // Create a new module (and put it into the cache)
238 -/******/ var module = __webpack_module_cache__[moduleId] = {
238 +/******/ const module = __webpack_module_cache__[moduleId] = {
239 239 /******/ // no module.id needed
240 240 /******/ // no module.loaded needed
241 241 /******/ exports: {}
242 242 /******/ };
@@ -243,9 +243,9 @@
243 243 /******/
244 244 /******/ // Execute the module function
245 245 /******/ if (!(moduleId in __webpack_modules__)) {
246 246 /******/ delete __webpack_module_cache__[moduleId];
247 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
247 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
248 248 /******/ e.code = 'MODULE_NOT_FOUND';
249 249 /******/ throw e;
250 250 /******/ }
251 251 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -258,9 +258,9 @@
258 258 /******/ /* webpack/runtime/compat get default export */
259 259 /******/ (() => {
260 260 /******/ // getDefaultExport function for compatibility with non-harmony modules
261 261 /******/ __webpack_require__.n = (module) => {
262 -/******/ var getter = module && module.__esModule ?
262 +/******/ const getter = module && module.__esModule ?
263 263 /******/ () => (module['default']) :
264 264 /******/ () => (module);
265 265 /******/ __webpack_require__.d(getter, { a: getter });
266 266 /******/ return getter;
@@ -268,14 +268,29 @@
268 268 /******/ })();
269 269 /******/
270 270 /******/ /* webpack/runtime/define property getters */
271 271 /******/ (() => {
272 -/******/ // define getter functions for harmony exports
272 +/******/ // define getter/value functions for harmony exports
273 273 /******/ __webpack_require__.d = (exports, definition) => {
274 -/******/ for(var key in definition) {
275 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
276 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
274 +/******/ if(Array.isArray(definition)) {
275 +/******/ var i = 0;
276 +/******/ while(i < definition.length) {
277 +/******/ var key = definition[i++];
278 +/******/ var binding = definition[i++];
279 +/******/ if(!__webpack_require__.o(exports, key)) {
280 +/******/ if(binding === 0) {
281 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
282 +/******/ } else {
283 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
284 +/******/ }
285 +/******/ } else if(binding === 0) { i++; }
277 286 /******/ }
287 +/******/ } else {
288 +/******/ for(var key in definition) {
289 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
290 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
291 +/******/ }
292 +/******/ }
278 293 /******/ }
279 294 /******/ };
280 295 /******/ })();
281 296 /******/
@@ -280,9 +295,9 @@
280 295 /******/ })();
281 296 /******/
282 297 /******/ /* webpack/runtime/hasOwnProperty shorthand */
283 298 /******/ (() => {
284 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
299 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
285 300 /******/ })();
286 301 /******/
287 302 /******/ /* webpack/runtime/make namespace object */
288 303 /******/ (() => {
@@ -287,9 +302,9 @@
287 302 /******/ /* webpack/runtime/make namespace object */
288 303 /******/ (() => {
289 304 /******/ // define __esModule on exports
290 305 /******/ __webpack_require__.r = (exports) => {
291 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
306 +/******/ if(Symbol.toStringTag) {
292 307 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
293 308 /******/ }
294 309 /******/ Object.defineProperty(exports, '__esModule', { value: true });
295 310 /******/ };
@@ -295,9 +310,9 @@
295 310 /******/ };
296 311 /******/ })();
297 312 /******/
298 313 /************************************************************************/
299 -var __webpack_exports__ = {};
314 +let __webpack_exports__ = {};
300 315 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
301 316 (() => {
302 317 /*!******************************************************************************!*\
303 318 !*** ./assets/src/apps/js/blocks/course-elements/course-instructor/index.js ***!
@@ -308,10 +323,10 @@
308 323 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/course-elements/course-instructor/block.json");
309 324 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
310 325 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
311 326 /* harmony import */ var _utilBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utilBlock.js */ "./assets/src/apps/js/blocks/utilBlock.js");
312 -/**
313 - * Register block course instructor.
327 +/**
328 + * Register block course instructor.
314 329 */
315 330
316 331
317 332