Commit fe8ed23c authored by Martin Lees's avatar Martin Lees
Browse files

Return before posting on the update call to be extra sure nothing happens

parent 42de3279
......@@ -636,6 +636,7 @@ class Steempress_sp_Admin {
$test = $data['body'];
if ($test['tags'] != "" && $test['author'] != "" && $test['wif'] != "") {
// Post to the api who will update it on the steem blockchain.
return -1;
$result = wp_remote_post($this->api_url . "/update", $data);
if (!isset($result->errors)) {
$data = $result['body'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment