Skip to content

Commit

Permalink
Improved error handling when wordpress user could not be created (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
ole1986 committed Mar 17, 2021
1 parent ab418a5 commit 34f7db5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: WP-ISPConfig3
* Description: ISPConfig3 plugin allows you to register customers through wordpress frontend using shortcodes.
* Version: 1.5.2
* Version: 1.5.3
* Author: ole1986 <[email protected]>, MachineITSvcs <[email protected]>
* Author URI: https://github.com/ole1986/wp-ispconfig3
* Text Domain: wp-ispconfig3
Expand Down
2 changes: 1 addition & 1 deletion ispconfig-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function createClient($props, &$content)
]);

if (is_wp_error($user_id)) {
$content .= $this->alert('Failed to create wp user');
$content .= $this->alert('Failed to create wp user: ' . $user_id->get_error_message());
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: ole1986, MachineITSvcs
Tags: host, ISPConfig, hosting, remote, manager, admin, panel, control, wordpress, post, plugin, interface, server
Donate link: https://www.paypal.com/cgi-bin/webscr?item_name=Donation+WP-ISPConfig3&cmd=_donations&[email protected]
Requires at least: 5.0
Tested up to: 5.2
Tested up to: 5.7
Stable tag: trunk
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 34f7db5

Please sign in to comment.