updated plugin Gitium version 1.2.3

This commit is contained in:
2026-06-03 21:28:59 +00:00
committed by Gitium
parent f2d6714572
commit d203f0fe12
2 changed files with 21 additions and 5 deletions

View File

@ -7,7 +7,7 @@
* Author URI: https://www.presslabs.com * Author URI: https://www.presslabs.com
* Text Domain: gitium * Text Domain: gitium
* Domain Path: /languages * Domain Path: /languages
* Version: 1.2.1 * Version: 1.2.3
* License: GPL3 * License: GPL3
* *
* Gitium provides automatic git version control and deployment for * Gitium provides automatic git version control and deployment for
@ -378,3 +378,12 @@ function gitium_remote_disconnected_notice() {
<?php endif; <?php endif;
} }
add_action( 'admin_notices', 'gitium_remote_disconnected_notice' ); add_action( 'admin_notices', 'gitium_remote_disconnected_notice' );
/*
* Create a commit when a plugin is deleted through WP CLI.
*/
if ( defined('WP_CLI') && WP_CLI ) {
WP_CLI::add_hook('after_invoke:plugin delete', function() {
gitium_auto_push('Deleted plugin via WP-CLI');
});
}

View File

@ -4,10 +4,10 @@ Contributors: PressLabs
Donate link: https://www.presslabs.com/gitium/ Donate link: https://www.presslabs.com/gitium/
Tags: git, version control, revision, gitium, presslabs Tags: git, version control, revision, gitium, presslabs
Requires at least: 4.7 Requires at least: 4.7
Tested up to: 6.8 Tested up to: 7.0
Requires PHP: 7.4 Requires PHP: 7.4
License: GPLv3 License: GPLv3
Stable tag: 1.2.1 Stable tag: 1.2.3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Automatic git version control and deployment for your plugins and themes integrated into wp-admin. Automatic git version control and deployment for your plugins and themes integrated into wp-admin.
@ -122,11 +122,18 @@ Submodules are currently not supported.
Please report security bugs found in the source code of the Gitium plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/gitium). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin. Please report security bugs found in the source code of the Gitium plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/gitium). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
== Upgrade Notice == == Upgrade Notice ==
= 1.2.1 = = 1.2.3 =
Tested up to WP 6.8 Tested up to WP 7.0
== Changelog == == Changelog ==
= 1.2.3 =
* Tested the compatibility of the plugin with WP 7.0
* Added: Create a commit message when a plugin is deleted via WP CLI
= 1.2.2 =
* Tested the compatibility of the plugin with WP 6.9
= 1.2.1 = = 1.2.1 =
* Tested the compatibility of the plugin with WP 6.8 * Tested the compatibility of the plugin with WP 6.8