Skip to content

Commit 0a33b72

Browse files
committed
Update to 0.4.0
1 parent aaf02b7 commit 0a33b72

File tree

6 files changed

+24
-18
lines changed

6 files changed

+24
-18
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
**Requires PHP:** 7.0.0
1313

14-
**Stable tag:** 0.3.2
14+
**Stable tag:** 0.4.0
1515

1616
**License:** GPLv3 or later
1717

1818
**License URI:** https://www.gnu.org/licenses/gpl-3.0.en.html
1919

20-
Add gutenberg blocks data into the post / page endpoints api.
20+
Add gutenberg blocks data into post / page / widget REST API endpoints.
2121

2222
## Description ##
2323

@@ -61,6 +61,9 @@ Installation requires you to check the project out in plugin directory and do a
6161

6262
## Changelog ##
6363

64+
### 0.4.0 ###
65+
* Added support for block based widget, added in WordPress 5.8. Block data is added to the /wp/v2/widgets endpoint.
66+
6467
### 0.3.2 ###
6568
* Update translations
6669

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "spacedmonkey/wp-rest-blocks",
33
"type": "wordpress-plugin",
4-
"description": "Add gutenberg blocks data into the post / page endpoints api.",
4+
"description": "Add gutenberg blocks data into post / page / widget REST API endpoints.",
55
"homepage": "http://wp-api.org/",
66
"license": "GPL-3.0-or-later",
77
"authors": [

composer.lock

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

languages/wp-rest-blocks.pot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the same license as the REST API Blocks plugin.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: REST API Blocks 0.3.2\n"
5+
"Project-Id-Version: REST API Blocks 0.4.0\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-rest-blocks\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2021-09-06T17:52:03+00:00\n"
12+
"POT-Creation-Date: 2021-09-06T22:57:02+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.5.0\n"
1515
"X-Domain: wp-rest-blocks\n"
@@ -23,7 +23,7 @@ msgid "https://github.com/spacedmonkey/wp-rest-blocks"
2323
msgstr ""
2424

2525
#. Description of the plugin
26-
msgid "Add gutenberg blocks data into the post / page endpoints api."
26+
msgid "Add gutenberg blocks data into post / page / widget REST API endpoints."
2727
msgstr ""
2828

2929
#. Author of the plugin
@@ -34,13 +34,13 @@ msgstr ""
3434
msgid "https://www.spacedmonkey.com/"
3535
msgstr ""
3636

37-
#: src/posts.php:51
37+
#: src/posts.php:55
3838
#: src/widgets.php:38
3939
msgid "Has blocks."
4040
msgstr ""
4141

42-
#: src/posts.php:64
43-
#: src/widgets.php:51
42+
#: src/posts.php:70
43+
#: src/widgets.php:53
4444
msgid "Blocks."
4545
msgstr ""
4646

readme.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: blocks, gutenberg, api, wp-json, rest-api
55
Requires at least: 5.5
66
Tested up to: 5.8
77
Requires PHP: 7.0.0
8-
Stable tag: 0.3.2
8+
Stable tag: 0.4.0
99
License: GPLv3 or later
1010
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
1111

@@ -51,6 +51,8 @@ An example of output, can be found in the screenshots.
5151
1. Add fields to the rest api.
5252

5353
== Changelog ==
54+
= 0.4.0 =
55+
* Added support for block based widget, added in WordPress 5.8. Block data is added to the /wp/v2/widgets endpoint.
5456

5557
= 0.3.2 =
5658
* Update translations

wp-rest-blocks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
/**
33
* Plugin Name: REST API Blocks
44
* Plugin URI: https://github.com/spacedmonkey/wp-rest-blocks
5-
* Description: Add gutenberg blocks data into the post / page endpoints api.
5+
* Description: Add gutenberg blocks data into post / page / widget REST API endpoints.
66
* Author: Jonathan Harris
77
* Author URI: https://www.spacedmonkey.com/
88
* Text Domain: wp-rest-blocks
99
* Domain Path: /languages
10-
* Version: 0.3.2
10+
* Version: 0.4.0
1111
* Requires at least: 5.5
1212
* Requires PHP: 7.0
1313
*

0 commit comments

Comments
 (0)