Skip to content

Commit dba2db9

Browse files
authored
Merge pull request #12 from WP-Autoplugin/agent-friendly-features
v1.5.0: Agent-friendly features
2 parents 1da9ceb + fc884f6 commit dba2db9

18 files changed

+2393
-344
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wp-autoplugin/hub2wp",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "Browse, install, and update WordPress themes and plugins from GitHub, as if they were in the .org repo.",
55
"type": "wordpress-plugin",
66
"autoload": {

hub2wp.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: hub2wp
44
* Description: Browse, install, and update WordPress plugins directly from GitHub repositories.
5-
* Version: 1.4.0
5+
* Version: 1.5.0
66
* Author: Balázs Piller
77
* Text Domain: hub2wp
88
* Domain Path: /languages
@@ -16,7 +16,7 @@
1616
exit; // Exit if accessed directly.
1717
}
1818

19-
define( 'H2WP_VERSION', '1.4.0' );
19+
define( 'H2WP_VERSION', '1.5.0' );
2020
define( 'H2WP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
2121
define( 'H2WP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
2222
define( 'H2WP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
@@ -42,3 +42,9 @@
4242

4343
// Initialize AJAX handler.
4444
new H2WP_Admin_Ajax();
45+
46+
// Register WP-CLI commands.
47+
H2WP_CLI_Command::init();
48+
49+
// Register Abilities API integration when available.
50+
H2WP_Abilities::init();

0 commit comments

Comments
 (0)