diff --git a/admin/class-steempress_sp-admin.php b/admin/class-steempress_sp-admin.php index 8cc86e3..84010af 100755 --- a/admin/class-steempress_sp-admin.php +++ b/admin/class-steempress_sp-admin.php @@ -423,7 +423,11 @@ public function steempress_sp_bulk_publish_notice() { } function steempress_sp_future_post( $post_id ) { - $this->Steempress_sp_publish($post_id); + + // See if the publish to steem checkbox is checked. + $value = get_post_meta($post_id, 'Steempress_sp_steem_publish', true); + if ($value != "0") + $this->Steempress_sp_publish($post_id); } public function steempress_sp_post($new_status, $old_status, $post) diff --git a/steempress_sp.php b/steempress_sp.php index bf41a7d..6df96ae 100755 --- a/steempress_sp.php +++ b/steempress_sp.php @@ -32,8 +32,8 @@ * Currently plugin version. * using SemVer - https://semver.org */ -define( 'steempress_sp_compte', '2.3'); -//define( 'steempress_sp_api_url', 'https://api.steempress.io'); +define( 'steempress_sp_compte', '2.3.1'); +define( 'steempress_sp_api_url', 'https://api.steempress.io'); define( 'steempress_sp_twoway_api_url', 'https://two.steempress.io'); define( 'steempress_sp_api_url', 'http://localhost:8001');