PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/server-side-render/index.js +4 -1 23.5.3 → trunk View file →
@@ -1,4 +1,5 @@
1 +(function() {
1 2 "use strict";
2 3 var wp;
3 4 (wp ||= {}).serverSideRender = (() => {
4 5 var __create = Object.create;
@@ -158,9 +159,9 @@
158 159 skipBlockSupportAttributes = false,
159 160 httpMethod = "GET",
160 161 urlQueryArgs
161 162 } = args;
162 - let sanitizedAttributes = attributes && (0, import_blocks.__experimentalSanitizeBlockAttributes)(block, attributes);
163 + let sanitizedAttributes = attributes && (0, import_blocks.sanitizeBlockAttributes)(block, attributes);
163 164 if (skipBlockSupportAttributes && sanitizedAttributes) {
164 165 sanitizedAttributes = removeBlockSupportAttributes(sanitizedAttributes);
165 166 }
166 167 const isPostRequest = "POST" === httpMethod;
@@ -312,5 +313,7 @@
312 313 var index_default = ServerSideRenderCompat;
313 314 return __toCommonJS(index_exports);
314 315 })();
315 316 if (typeof wp.serverSideRender === 'object' && wp.serverSideRender.default) { wp.serverSideRender = wp.serverSideRender.default; }
317 +(window.wp ||= {}).serverSideRender = wp.serverSideRender;
318 +})();
316 319 //# sourceMappingURL=index.js.map