Skip to content

Commit 149984b

Browse files
authored
Merge pull request #19 from BeAPI/ver/2.0.2
Ver/2.0.2
2 parents 3dd9849 + d04cad2 commit 149984b

8 files changed

Lines changed: 18 additions & 8 deletions

File tree

.plugin-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "2.0.1",
2+
"version": "2.0.2",
33
"slug": "blockparty-faq"
44
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,7 @@ Yoast SEO is required for the FAQ schema (JSON-LD) generation. It is installed a
7979
### 2.0.1 - 2026-01-27
8080

8181
- Fix build blocks
82+
83+
### 2.0.2 - 2026-01-27
84+
85+
- Add missing isAccordion attribute

blockparty-faq.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: A FAQ block for WordPress Editor that provided structured data based on FAQ schema.
55
* Requires at least: 6.2
66
* Requires PHP: 8.1
7-
* Version: 2.0.1
7+
* Version: 2.0.2
88
* Plugin URI: https://beapi.fr
99
* Author: Be API Technical team
1010
* Author URI: https://beapi.fr
@@ -41,7 +41,7 @@
4141
}
4242

4343
// Plugin constants
44-
define( 'BLOCKPARTY_FAQ_VERSION', '2.0.1' );
44+
define( 'BLOCKPARTY_FAQ_VERSION', '2.0.2' );
4545

4646
// Plugin URL and PATH
4747
define( 'BLOCKPARTY_FAQ_DIR', plugin_dir_path( __FILE__ ) );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockparty-faq",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "SEO friendly FAQ module in an accessible accordion",
55
"author": "Be API Technical team",
66
"license": "GPL-2.0-or-later",

src/faq-answer/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "blockparty/faq-answer",
5-
"version": "2.0.1",
5+
"version": "2.0.2",
66
"title": "FAQ Answer",
77
"category": "design",
88
"parent": [ "blockparty/faq-item" ],

src/faq-item/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "blockparty/faq-item",
5-
"version": "2.0.1",
5+
"version": "2.0.2",
66
"title": "FAQ Item",
77
"category": "design",
88
"parent": [ "blockparty/faq" ],

src/faq-question/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "blockparty/faq-question",
5-
"version": "2.0.1",
5+
"version": "2.0.2",
66
"title": "FAQ Question",
77
"category": "design",
88
"parent": [ "blockparty/faq-item" ],

src/faq/block.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,20 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "blockparty/faq",
5-
"version": "2.0.1",
5+
"version": "2.0.2",
66
"title": "FAQ",
77
"category": "design",
88
"description": "A FAQ block for WordPress Editor that provided structured data based on FAQ schema.",
99
"supports": {
1010
"html": false,
1111
"innerBlocks": true
1212
},
13+
"attributes": {
14+
"isAccordion": {
15+
"type": "boolean",
16+
"default": true
17+
}
18+
},
1319
"textdomain": "blockparty-faq",
1420
"editorScript": "file:./index.js",
1521
"viewScript": "file:./script.js",

0 commit comments

Comments
 (0)