Skip to content

Commit 6729f16

Browse files
authored
Merge pull request #89 from studiopress/fix/http-method-ssr
Fix the httpMethod in ServerSideRender
2 parents 84ea385 + 3189113 commit 6729f16

File tree

6 files changed

+56
-97
lines changed

6 files changed

+56
-97
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## Changelog ##
22

3+
### 1.3.1 - 2021-08-26 ###
4+
5+
Fix for fields with long strings
6+
7+
* Fix a regression that caused editor errors for fields with long strings. [PR 89](https://github.com/studiopress/genesis-custom-blocks/pull/89)
8+
* Update e2e tests for WP 5.8. [PR 87](https://github.com/studiopress/genesis-custom-blocks/pull/87)
9+
310
### 1.3.0 - 2021-07-20 ###
411

512
InnerBlocks, File field, WP 5.8 compatibility

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: gutenberg, blocks, block editor, fields, template
55
Requires at least: 5.4
66
Tested up to: 5.8
77
Requires PHP: 5.6
8-
Stable tag: 1.3.0
8+
Stable tag: 1.3.1
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl
1111

genesis-custom-blocks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Plugin Name: Genesis Custom Blocks
1010
* Description: The easy way to build custom blocks for Gutenberg.
11-
* Version: 1.3.0
11+
* Version: 1.3.1
1212
* Author: Genesis Custom Blocks
1313
* Author URI: https://studiopress.com
1414
* License: GPL2

js/src/block-editor/components/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const Edit = ( { blockProps, block } ) => {
106106
block={ `genesis-custom-blocks/${ block.name }` }
107107
attributes={ attributes }
108108
className="genesis-custom-blocks-editor__ssr"
109-
urlQueryArgs={ { innerContent: '<span>Here is something</span>' } }
109+
httpMethod="POST"
110110
/>
111111
</>
112112
) }

package-lock.json

Lines changed: 43 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "genesis-custom-blocks",
33
"title": "Genesis Custom Blocks",
4-
"version": "1.3.0",
4+
"version": "1.3.1",
55
"description": "WordPress plugin with a simple templating system for building custom blocks.",
66
"author": "Genesis Custom Blocks",
77
"license": "GPL-2.0-or-later",
@@ -41,12 +41,12 @@
4141
"@wordpress/dependency-extraction-webpack-plugin": "3.1.3",
4242
"@wordpress/dom": "3.0.0",
4343
"@wordpress/dom-ready": "3.0.0",
44-
"@wordpress/e2e-test-utils": "5.4.1",
44+
"@wordpress/e2e-test-utils": "5.1.4",
4545
"@wordpress/e2e-tests": "2.1.6",
4646
"@wordpress/edit-post": "4.0.0",
4747
"@wordpress/editor": "10.0.0",
4848
"@wordpress/element": "3.0.0",
49-
"@wordpress/env": "4.1.0",
49+
"@wordpress/env": "4.0.4",
5050
"@wordpress/eslint-plugin": "9.0.5",
5151
"@wordpress/hooks": "3.0.0",
5252
"@wordpress/html-entities": "3.0.0",

0 commit comments

Comments
 (0)