fix 1
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Plugin Slug: wp-spaceapi-consumer
|
||||
* Plugin URI: https://gitea.alluna.pt/jfig/wp-spaceapi-consumer
|
||||
* Description: WordPress plugin to consume a SpaceAPI endpoint and indicate if the Space is Open or Closed
|
||||
* Version: 0.3.0
|
||||
* Version: 0.4.0
|
||||
* Author: Joao Figueiredo, LCD Porto Team, ChatGPT o3
|
||||
* Author URI: https://lcdporto.org
|
||||
* License: MIT
|
||||
@@ -167,4 +167,10 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
|
||||
} );
|
||||
}
|
||||
|
||||
// Gutenberg block support (dynamic Space Status block)
|
||||
if ( function_exists( 'register_block_type' ) ) {
|
||||
require_once plugin_dir_path( __FILE__ ) . 'blocks-register.php';
|
||||
}
|
||||
|
||||
|
||||
// End of file
|
||||
|
||||
Reference in New Issue
Block a user