Version Description
Download this release
Release Info
Developer | automattic |
Plugin | Full Site Editing |
Version | 3.37231 |
Comparing to | |
See all releases |
Code changes from version 3.37229 to 3.37231
- build_meta.txt +3 -3
- full-site-editing-plugin.php +2 -2
- readme.txt +1 -1
- wpcom-documentation-links/dist/wpcom-documentation-links.asset.php +1 -1
- wpcom-documentation-links/dist/wpcom-documentation-links.js +3 -0
- wpcom-documentation-links/dist/wpcom-documentation-links.min.js +1 -1
- wpcom-documentation-links/dist/wpcom-documentation-links.min.js.map +1 -1
- wpcom-documentation-links/src/index.tsx +2 -0
build_meta.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
commit_hash=
|
2 |
-
commit_url=https://github.com/Automattic/wp-calypso/commit/
|
3 |
-
build_number=3.
|
1 |
+
commit_hash=d1e1d2a836d6acaebd3cda8485e175c5fafb46c8
|
2 |
+
commit_url=https://github.com/Automattic/wp-calypso/commit/d1e1d2a836d6acaebd3cda8485e175c5fafb46c8
|
3 |
+
build_number=3.37231
|
full-site-editing-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
-
* Version: 3.
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
@@ -42,7 +42,7 @@ namespace A8C\FSE;
|
|
42 |
*
|
43 |
* @var string
|
44 |
*/
|
45 |
-
define( 'A8C_ETK_PLUGIN_VERSION', '3.
|
46 |
|
47 |
// Always include these helper files for dotcom FSE.
|
48 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
+
* Version: 3.37231
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
42 |
*
|
43 |
* @var string
|
44 |
*/
|
45 |
+
define( 'A8C_ETK_PLUGIN_VERSION', '3.37231' );
|
46 |
|
47 |
// Always include these helper files for dotcom FSE.
|
48 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
|
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.5
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 3.
|
7 |
Requires PHP: 5.6.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
3 |
Tags: block, blocks, editor, gutenberg, page
|
4 |
Requires at least: 5.5
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 3.37231
|
7 |
Requires PHP: 5.6.20
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
wpcom-documentation-links/dist/wpcom-documentation-links.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'd24fa629a3f47bd5a208');
|
wpcom-documentation-links/dist/wpcom-documentation-links.js
CHANGED
@@ -40,6 +40,9 @@ function overrideCoreDocumentationLinksToWpcom(translation, text) {
|
|
40 |
|
41 |
case 'https://wordpress.org/plugins/classic-widgets/':
|
42 |
return 'https://wordpress.com/plugins/classic-widgets';
|
|
|
|
|
|
|
43 |
}
|
44 |
|
45 |
return translation;
|
40 |
|
41 |
case 'https://wordpress.org/plugins/classic-widgets/':
|
42 |
return 'https://wordpress.com/plugins/classic-widgets';
|
43 |
+
|
44 |
+
case 'https://wordpress.org/support/article/styles-overview/':
|
45 |
+
return 'https://wordpress.com/support/using-styles/';
|
46 |
}
|
47 |
|
48 |
return translation;
|
wpcom-documentation-links/dist/wpcom-documentation-links.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
!function(){"use strict";var t={731:function(){},6:function(t,r,e){var s,o=e(694);e(731);(0,o.addFilter)("i18n.gettext_default","full-site-editing/override-core-docs-to-wpcom",(function(t,r){switch(r){case"https://wordpress.org/support/article/excerpt/":return"https://wordpress.com/support/excerpts/";case"https://wordpress.org/support/article/writing-posts/#post-field-descriptions":return"https://wordpress.com/support/permalinks-and-slugs/";case"https://wordpress.org/support/article/wordpress-editor/":return"https://wordpress.com/support/wordpress-editor/";case"https://wordpress.org/support/article/site-editor/":return"https://wordpress.com/support/site-editor/";case"https://wordpress.org/support/article/block-based-widgets-editor/":return"https://wordpress.com/support/widgets/";case"https://wordpress.org/plugins/classic-widgets/":return"https://wordpress.com/plugins/classic-widgets"}return t}),9),"simple"===(null===(s=window)||void 0===s?void 0:s._currentSiteType)&&(0,o.addFilter)("i18n.gettext_default","full-site-editing/override-core-docs-to-wpcom",(function(t,r){switch(r){case"https://wordpress.org/plugins/classic-widgets/":case"Want to stick with the old widgets?":case"Get the Classic Widgets plugin.":return""}return t}),10)},694:function(t){t.exports=window.wp.hooks}},r={};function e(s){var o=r[s];if(void 0!==o)return o.exports;var i=r[s]={exports:{}};return t[s](i,i.exports,e),i.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var s in r)e.o(r,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:r[s]})},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};!function(){e.r(s);e(6)}(),window.EditingToolkit=s}();
|
2 |
//# sourceMappingURL=wpcom-documentation-links.min.js.map
|
1 |
+
!function(){"use strict";var t={731:function(){},6:function(t,r,e){var s,o=e(694);e(731);(0,o.addFilter)("i18n.gettext_default","full-site-editing/override-core-docs-to-wpcom",(function(t,r){switch(r){case"https://wordpress.org/support/article/excerpt/":return"https://wordpress.com/support/excerpts/";case"https://wordpress.org/support/article/writing-posts/#post-field-descriptions":return"https://wordpress.com/support/permalinks-and-slugs/";case"https://wordpress.org/support/article/wordpress-editor/":return"https://wordpress.com/support/wordpress-editor/";case"https://wordpress.org/support/article/site-editor/":return"https://wordpress.com/support/site-editor/";case"https://wordpress.org/support/article/block-based-widgets-editor/":return"https://wordpress.com/support/widgets/";case"https://wordpress.org/plugins/classic-widgets/":return"https://wordpress.com/plugins/classic-widgets";case"https://wordpress.org/support/article/styles-overview/":return"https://wordpress.com/support/using-styles/"}return t}),9),"simple"===(null===(s=window)||void 0===s?void 0:s._currentSiteType)&&(0,o.addFilter)("i18n.gettext_default","full-site-editing/override-core-docs-to-wpcom",(function(t,r){switch(r){case"https://wordpress.org/plugins/classic-widgets/":case"Want to stick with the old widgets?":case"Get the Classic Widgets plugin.":return""}return t}),10)},694:function(t){t.exports=window.wp.hooks}},r={};function e(s){var o=r[s];if(void 0!==o)return o.exports;var i=r[s]={exports:{}};return t[s](i,i.exports,e),i.exports}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var s in r)e.o(r,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:r[s]})},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};!function(){e.r(s);e(6)}(),window.EditingToolkit=s}();
|
2 |
//# sourceMappingURL=wpcom-documentation-links.min.js.map
|
wpcom-documentation-links/dist/wpcom-documentation-links.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"wpcom-documentation-links.min.js","mappings":"
|
1 |
+
{"version":3,"file":"wpcom-documentation-links.min.js","mappings":"0FA4CAA,EAAAA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ASyB,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAehB,EAAS,aAAc,CAAE2B,OAAO,K","sources":["webpack://EditingToolkit/./editing-toolkit-plugin/wpcom-documentation-links/src/index.tsx","webpack://EditingToolkit/external window [\"wp\",\"hooks\"]","webpack://EditingToolkit/webpack/bootstrap","webpack://EditingToolkit/webpack/runtime/compat get default export","webpack://EditingToolkit/webpack/runtime/define property getters","webpack://EditingToolkit/webpack/runtime/hasOwnProperty shorthand","webpack://EditingToolkit/webpack/runtime/make namespace object"],"sourcesContent":["import { addFilter } from '@wordpress/hooks';\nimport './style.css';\n\ndeclare global {\n\tinterface Window {\n\t\t_currentSiteId: number;\n\t\t_currentSiteType: string;\n\t}\n}\n\nfunction overrideCoreDocumentationLinksToWpcom( translation: string, text: string ) {\n\tswitch ( text ) {\n\t\tcase 'https://wordpress.org/support/article/excerpt/':\n\t\t\treturn 'https://wordpress.com/support/excerpts/';\n\t\tcase 'https://wordpress.org/support/article/writing-posts/#post-field-descriptions':\n\t\t\treturn 'https://wordpress.com/support/permalinks-and-slugs/';\n\t\tcase 'https://wordpress.org/support/article/wordpress-editor/':\n\t\t\treturn 'https://wordpress.com/support/wordpress-editor/';\n\t\tcase 'https://wordpress.org/support/article/site-editor/':\n\t\t\treturn 'https://wordpress.com/support/site-editor/';\n\t\tcase 'https://wordpress.org/support/article/block-based-widgets-editor/':\n\t\t\treturn 'https://wordpress.com/support/widgets/';\n\t\tcase 'https://wordpress.org/plugins/classic-widgets/':\n\t\t\treturn 'https://wordpress.com/plugins/classic-widgets';\n\t\tcase 'https://wordpress.org/support/article/styles-overview/':\n\t\t\treturn 'https://wordpress.com/support/using-styles/';\n\t}\n\n\treturn translation;\n}\n\nfunction hideSimpleSiteTranslations( translation: string, text: string ) {\n\tswitch ( text ) {\n\t\tcase 'https://wordpress.org/plugins/classic-widgets/':\n\t\t\treturn '';\n\t\tcase 'Want to stick with the old widgets?':\n\t\t\treturn '';\n\t\tcase 'Get the Classic Widgets plugin.':\n\t\t\treturn '';\n\t}\n\n\treturn translation;\n}\n\naddFilter(\n\t'i18n.gettext_default',\n\t'full-site-editing/override-core-docs-to-wpcom',\n\toverrideCoreDocumentationLinksToWpcom,\n\t9\n);\n\nif ( window?._currentSiteType === 'simple' ) {\n\taddFilter(\n\t\t'i18n.gettext_default',\n\t\t'full-site-editing/override-core-docs-to-wpcom',\n\t\thideSimpleSiteTranslations,\n\t\t10\n\t);\n}\n","module.exports = window[\"wp\"][\"hooks\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["addFilter","translation","text","window","_currentSiteType","module","exports","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value"],"sourceRoot":""}
|
wpcom-documentation-links/src/index.tsx
CHANGED
@@ -22,6 +22,8 @@ function overrideCoreDocumentationLinksToWpcom( translation: string, text: strin
|
|
22 |
return 'https://wordpress.com/support/widgets/';
|
23 |
case 'https://wordpress.org/plugins/classic-widgets/':
|
24 |
return 'https://wordpress.com/plugins/classic-widgets';
|
|
|
|
|
25 |
}
|
26 |
|
27 |
return translation;
|
22 |
return 'https://wordpress.com/support/widgets/';
|
23 |
case 'https://wordpress.org/plugins/classic-widgets/':
|
24 |
return 'https://wordpress.com/plugins/classic-widgets';
|
25 |
+
case 'https://wordpress.org/support/article/styles-overview/':
|
26 |
+
return 'https://wordpress.com/support/using-styles/';
|
27 |
}
|
28 |
|
29 |
return translation;
|