Skip to content

Commit b5baae2

Browse files
Merge pull request #38 from heikkivihersalo/hotfix/bump-version-number-to-0-2-0
Bump version number to 0.2.0
2 parents 05ea558 + fbfa3df commit b5baae2

8 files changed

Lines changed: 30 additions & 30 deletions

gutenberg-native-ai.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: Gutenberg Native AI (Beta)
1111
* Plugin URI: https://www.kotisivu.dev
1212
* Description: A plugin that extends the Gutenberg editor with AI features designed to work natively with WordPress.
13-
* Version: 0.1.2
13+
* Version: 0.2.0
1414
* Author: Heikki Vihersalo
1515
* Author URI: https://www.kotisivu.dev/
1616
* License: GPL-2.0+
@@ -31,7 +31,7 @@
3131
/**
3232
* Current plugin and API versions.
3333
*/
34-
define( 'GUTENBERG_NATIVE_AI_VERSION', '0.1.2' );
34+
define( 'GUTENBERG_NATIVE_AI_VERSION', '0.2.0' );
3535
define( 'GUTENBERG_NATIVE_AI_API_VERSION', '1' );
3636

3737
/**

includes/api/class-utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static function update_chatgpt_settings( \WP_REST_Request $request ): arr
102102
/**
103103
* Get system instructions for text prompts
104104
*
105-
* @since 0.1.3
105+
* @since 0.2.0
106106
* @access private
107107
* @param string $tone_of_voice The tone of voice.
108108
* @return string

includes/class-options.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* This class defines all code necessary handle the admin options area.
1515
*
16-
* @since 0.1.3
16+
* @since 0.2.0
1717
* @package Gutenberg_Native_Ai
1818
* @author Heikki Vihersalo <heikki@vihersalo.fi>
1919
*/
@@ -39,7 +39,7 @@ class Options {
3939
/**
4040
* The admin page name
4141
*
42-
* @since 0.1.3
42+
* @since 0.2.0
4343
* @access protected
4444
* @var string ADMIN_PAGE_NAME The name of the admin page
4545
*/
@@ -60,7 +60,7 @@ public function __construct( string $plugin_name, string $version ) {
6060
/**
6161
* Check user permissions
6262
*
63-
* @since 0.1.3
63+
* @since 0.2.0
6464
* @return void
6565
*/
6666
public function check_user_permissions(): void {
@@ -86,7 +86,7 @@ public function get_admin_html(): void {
8686
/**
8787
* Add the plugin options page to the admin menu under `Settings`
8888
*
89-
* @since 0.1.3
89+
* @since 0.2.0
9090
* @return void
9191
*/
9292
public function add_plugin_options(): void {

includes/class-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private function define_scripts_and_styles() {
182182
* Register all of the hooks related to the options area functionality
183183
* of the plugin.
184184
*
185-
* @since 0.1.3
185+
* @since 0.2.0
186186
* @access private
187187
*/
188188
private function define_options_page() {

includes/class-scripts-admin.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ScriptsAdmin extends Scripts implements ScriptsInterface {
2020
/**
2121
* The ID of this plugin.
2222
*
23-
* @since 0.1.3
23+
* @since 0.2.0
2424
* @access private
2525
* @var string $plugin_name The ID of this plugin.
2626
*/
@@ -29,7 +29,7 @@ class ScriptsAdmin extends Scripts implements ScriptsInterface {
2929
/**
3030
* The version of this plugin.
3131
*
32-
* @since 0.1.3
32+
* @since 0.2.0
3333
* @access private
3434
* @var string $version The current version of this plugin.
3535
*/
@@ -38,7 +38,7 @@ class ScriptsAdmin extends Scripts implements ScriptsInterface {
3838
/**
3939
* Initialize the class and set its properties.
4040
*
41-
* @since 0.1.3
41+
* @since 0.2.0
4242
* @access public
4343
* @param string $plugin_name The name of this plugin.
4444
* @param string $version The version of this plugin.
@@ -52,7 +52,7 @@ public function __construct( $plugin_name, $version ) {
5252
/**
5353
* Check if the current page is the plugin's admin page
5454
*
55-
* @since 0.1.3
55+
* @since 0.2.0
5656
* @param string $hook The current admin page
5757
* @return bool
5858
*/
@@ -63,7 +63,7 @@ private function is_admin_page( string $hook ): bool {
6363
/**
6464
* Localize the script with the data needed for the admin frontend
6565
*
66-
* @since 0.1.3
66+
* @since 0.2.0
6767
* @param string $handle The handle for the script
6868
* @return void
6969
*/
@@ -80,7 +80,7 @@ public function localize_script( string $handle ): void {
8080
/**
8181
* Run the editor scripts and styles
8282
*
83-
* @since 0.1.3
83+
* @since 0.2.0
8484
* @param string $hook The current admin page
8585
* @return void
8686
*/

includes/class-scripts-editor.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ScriptsEditor extends Scripts implements ScriptsInterface {
2020
/**
2121
* The ID of this plugin.
2222
*
23-
* @since 0.1.3
23+
* @since 0.2.0
2424
* @access private
2525
* @var string $plugin_name The ID of this plugin.
2626
*/
@@ -29,7 +29,7 @@ class ScriptsEditor extends Scripts implements ScriptsInterface {
2929
/**
3030
* The version of this plugin.
3131
*
32-
* @since 0.1.3
32+
* @since 0.2.0
3333
* @access private
3434
* @var string $version The current version of this plugin.
3535
*/
@@ -38,7 +38,7 @@ class ScriptsEditor extends Scripts implements ScriptsInterface {
3838
/**
3939
* Initialize the class and set its properties.
4040
*
41-
* @since 0.1.3
41+
* @since 0.2.0
4242
* @access public
4343
* @param string $plugin_name The name of this plugin.
4444
* @param string $version The version of this plugin.
@@ -52,7 +52,7 @@ public function __construct( $plugin_name, $version ) {
5252
/**
5353
* Check if the current page is the plugin's editor page
5454
*
55-
* @since 0.1.3
55+
* @since 0.2.0
5656
* @param string $hook The current admin page
5757
* @return bool
5858
*/
@@ -63,7 +63,7 @@ private function is_editor_page( string $hook ): bool {
6363
/**
6464
* Run the editor scripts and styles
6565
*
66-
* @since 0.1.3
66+
* @since 0.2.0
6767
* @param string $hook The current admin page
6868
* @return void
6969
*/

includes/class-scripts.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The enqueue scripts class.
44
*
55
* @link https://www.kotisivu.dev
6-
* @since 0.1.3
6+
* @since 0.2.0
77
*
88
* @package Gutenberg_Native_Ai
99
*/
@@ -20,7 +20,7 @@ abstract class Scripts implements ScriptsInterface {
2020
/**
2121
* The ID of this plugin.
2222
*
23-
* @since 0.1.3
23+
* @since 0.2.0
2424
* @access private
2525
* @var string $plugin_name The ID of this plugin.
2626
*/
@@ -29,7 +29,7 @@ abstract class Scripts implements ScriptsInterface {
2929
/**
3030
* The version of this plugin.
3131
*
32-
* @since 0.1.3
32+
* @since 0.2.0
3333
* @access private
3434
* @var string $version The current version of this plugin.
3535
*/
@@ -38,7 +38,7 @@ abstract class Scripts implements ScriptsInterface {
3838
/**
3939
* Initialize the class and set its properties.
4040
*
41-
* @since 0.1.3
41+
* @since 0.2.0
4242
* @access public
4343
* @param string $plugin_name The name of this plugin.
4444
* @param string $version The version of this plugin.

includes/interfaces/interface-scripts.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The enqueue scripts interface.
44
*
55
* @link https://www.kotisivu.dev
6-
* @since 0.1.3
6+
* @since 0.2.0
77
*
88
* @package Gutenberg_Native_Ai
99
*/
@@ -13,15 +13,15 @@
1313
/**
1414
* The enqueue scripts interface.
1515
*
16-
* @since 0.1.3
16+
* @since 0.2.0
1717
* @package Gutenberg_Native_Ai
1818
* @author Heikki Vihersalo <heikki@vihersalo.fi>
1919
*/
2020
interface ScriptsInterface {
2121
/**
2222
* The name of the localized object
2323
*
24-
* @since 0.1.3
24+
* @since 0.2.0
2525
* @access protected
2626
* @var string LOCALIZED_OBJECT_NAME The name of the localized object
2727
*/
@@ -30,7 +30,7 @@ interface ScriptsInterface {
3030
/**
3131
* Check if the plugin's assets exist and display a notice if they don't
3232
*
33-
* @since 0.1.3
33+
* @since 0.2.0
3434
* @access public
3535
* @param string $path The path to the asset
3636
* @return bool
@@ -40,7 +40,7 @@ public function asset_exists( string $path, string $type = '' ): bool;
4040
/**
4141
* Register the stylesheets for the plugin.
4242
*
43-
* @since 0.1.3
43+
* @since 0.2.0
4444
* @access public
4545
* @param string $asset_path The path to the asset
4646
* @param string $style_url The URL to the stylesheet
@@ -52,7 +52,7 @@ public function enqueue_style( string $asset_path, string $style_url, string $ha
5252
/**
5353
* Register the scripts for the plugin.
5454
*
55-
* @since 0.1.3
55+
* @since 0.2.0
5656
* @access public
5757
* @param string $asset_path The path to the asset
5858
* @param string $script_url The URL to the script
@@ -64,7 +64,7 @@ public function enqueue_script( string $asset_path, string $script_url, string $
6464
/**
6565
* Run the editor scripts and styles
6666
*
67-
* @since 0.1.3
67+
* @since 0.2.0
6868
* @access public
6969
* @param string $hook The current admin page
7070
* @return void

0 commit comments

Comments
 (0)