File tree Expand file tree Collapse file tree 6 files changed +44
-17
lines changed
Expand file tree Collapse file tree 6 files changed +44
-17
lines changed Original file line number Diff line number Diff line change 1+ # Directories
12/.git
23/.github
3- /.wordpress-org
44/node_modules
55/src
66
7+ # Configuration files
78.distignore
89.editorconfig
910.gitattributes
1011.gitignore
1112.plugin-data
1213.wp-env.json
13- CHANGELOG.md
14+ grumphp.yml
15+ phpcs.xml.dist
16+ psalm.xml.dist
17+
18+ # Dependency management
1419composer.json
1520composer.lock
16- grumphp.yml
17- LICENSE.md
1821package.json
1922package-lock.json
20- phpcs.xml.dist
21- phpunit.xml.dist
22- psalm.xml.dist
23+
24+ # Documentation (GitHub)
25+ CHANGELOG.md
2326README.md
24- webpack.config.js
25- yarn.lock
27+
28+ # Development files
29+ *.log
30+ *.map
31+ .DS_Store
32+ Thumbs.db
Original file line number Diff line number Diff line change 1+ # Directories
12/.git export-ignore
23/.github export-ignore
4+ /node_modules export-ignore
5+ /src export-ignore
6+
7+ # Configuration files
38/.distignore export-ignore
9+ /.editorconfig export-ignore
410/.gitattributes export-ignore
511/.gitignore export-ignore
612/.plugin-data export-ignore
7- /CHANGELOG.md export-ignore
13+ /.wp-env.json export-ignore
814/grumphp.yml export-ignore
915/phpcs.xml.dist export-ignore
10- /psalm.xml export-ignore
16+ /psalm.xml.dist export-ignore
17+
18+ # Dependency management
19+ /composer.json export-ignore
20+ /composer.lock export-ignore
21+ /package.json export-ignore
22+ /package-lock.json export-ignore
23+
24+ # Documentation (GitHub)
25+ /CHANGELOG.md export-ignore
1126/README.md export-ignore
Original file line number Diff line number Diff line change 11{
2- "version": "1.0.0 ",
2+ "version": "1.0.1 ",
33 "slug": "blockparty-iframe"
44}
Original file line number Diff line number Diff line change 22/**
33 * Plugin Name: Blockparty Iframe
44 * Description: Add a block to display an embedded frame in the WordPress editor.
5- * Version: 1.0.0
5+ * Version: 1.0.1
66 * Requires at least: 6.7
7- * Requires PHP: 7.4
7+ * Requires PHP: 8.1
88 * Author: Be API Technical team
99 * License: GPL-2.0-or-later
1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
1919 exit ; // Exit if accessed directly.
2020}
2121
22- define ( 'BLOCKPARTY_IFRAME_VERSION ' , '1.0.0 ' );
22+ define ( 'BLOCKPARTY_IFRAME_VERSION ' , '1.0.1 ' );
2323define ( 'BLOCKPARTY_IFRAME_URL ' , plugin_dir_url ( __FILE__ ) );
2424define ( 'BLOCKPARTY_IFRAME_DIR ' , plugin_dir_path ( __FILE__ ) );
2525define ( 'BLOCKPARTY_IFRAME_PLUGIN_BASENAME ' , plugin_basename ( __FILE__ ) );
2626
27+ // Require vendor
28+ if ( file_exists ( BLOCKPARTY_IFRAME_DIR . '/vendor/autoload.php ' ) ) {
29+ require BLOCKPARTY_IFRAME_DIR . '/vendor/autoload.php ' ;
30+ }
31+
2732/**
2833 * Registers the block using a `blocks-manifest.php` file, which improves the performance of block type registration.
2934 * Behind the scenes, it also registers all assets so they can be enqueued
Original file line number Diff line number Diff line change 11{
22 "name" : " blockparty-iframe" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " Add a block to display an embedded frame in the WordPress editor." ,
55 "author" : " Be API Technical team" ,
66 "license" : " GPL-2.0-or-later" ,
Original file line number Diff line number Diff line change 22 "$schema" : " https://schemas.wp.org/trunk/block.json" ,
33 "apiVersion" : 3 ,
44 "name" : " blockparty/iframe" ,
5- "version" : " 1.0.0 " ,
5+ "version" : " 1.0.1 " ,
66 "title" : " Iframe" ,
77 "category" : " widgets" ,
88 "description" : " Display an embedded frame." ,
You can’t perform that action at this time.
0 commit comments