Revive Old Posts – Auto Post to Social Media - Version 8.1.8

Version Description

  • 2019-01-29
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Revive Old Posts – Auto Post to Social Media
Version 8.1.8
Comparing to
See all releases

Code changes from version 8.1.7 to 8.1.8

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  ### v8.1.7 - 2019-01-18
3
  **Changes:**
4
  * New: Adds basic support for WPML content sharing(see revive.social docs)
1
 
2
+ ### v8.1.8 - 2019-01-29
3
+ **Changes:**
4
+ * Fix: Minor bugs
5
+
6
  ### v8.1.7 - 2019-01-18
7
  **Changes:**
8
  * New: Adds basic support for WPML content sharing(see revive.social docs)
includes/admin/class-rop-pointers.php CHANGED
@@ -52,7 +52,9 @@ class Rop_Pointers {
52
  */
53
  public function create_rop_menu_pointer() {
54
 
55
- if ( get_option( 'rop_menu_pointer_queued' ) || ! empty( get_option( 'rop_data' ) ) ) {
 
 
56
  return;
57
  }
58
 
52
  */
53
  public function create_rop_menu_pointer() {
54
 
55
+ $rop_data = get_option( 'rop_data' );
56
+
57
+ if ( get_option( 'rop_menu_pointer_queued' ) || ! empty( $rop_data ) ) {
58
  return;
59
  }
60
 
includes/admin/models/class-rop-queue-model.php CHANGED
@@ -113,6 +113,11 @@ class Rop_Queue_Model extends Rop_Model_Abstract {
113
  public function remove_from_queue( $timestamp, $account_id ) {
114
  $index = $this->scheduler->remove_timestamp( $timestamp, $account_id );
115
  $posts = $this->queue[ $account_id ][ $index ];
 
 
 
 
 
116
  unset( $this->queue[ $account_id ][ $index ] );
117
  $this->update_queue( $this->queue );
118
  foreach ( $posts as $post ) {
113
  public function remove_from_queue( $timestamp, $account_id ) {
114
  $index = $this->scheduler->remove_timestamp( $timestamp, $account_id );
115
  $posts = $this->queue[ $account_id ][ $index ];
116
+
117
+ if ( empty( $posts ) ) {
118
+ return false;
119
+ }
120
+
121
  unset( $this->queue[ $account_id ][ $index ] );
122
  $this->update_queue( $this->queue );
123
  foreach ( $posts as $post ) {
includes/class-rop.php CHANGED
@@ -68,7 +68,7 @@ class Rop {
68
  public function __construct() {
69
 
70
  $this->plugin_name = 'rop';
71
- $this->version = '8.1.7';
72
 
73
  $this->load_dependencies();
74
  $this->set_locale();
68
  public function __construct() {
69
 
70
  $this->plugin_name = 'rop';
71
+ $this->version = '8.1.8';
72
 
73
  $this->load_dependencies();
74
  $this->set_locale();
readme.md CHANGED
@@ -133,6 +133,11 @@ http://revive.social/plugins/revive-old-post
133
 
134
 
135
  ## Changelog ##
 
 
 
 
 
136
  ### 8.1.7 - 2019-01-18 ###
137
 
138
  * New: Adds basic support for WPML content sharing(see revive.social docs)
133
 
134
 
135
  ## Changelog ##
136
+ ### 8.1.8 - 2019-01-29 ###
137
+
138
+ * Fix: Minor bugs
139
+
140
+
141
  ### 8.1.7 - 2019-01-18 ###
142
 
143
  * New: Adds basic support for WPML content sharing(see revive.social docs)
readme.txt CHANGED
@@ -133,6 +133,11 @@ http://revive.social/plugins/revive-old-post
133
 
134
 
135
  == Changelog ==
 
 
 
 
 
136
  = 8.1.7 - 2019-01-18 =
137
 
138
  * New: Adds basic support for WPML content sharing(see revive.social docs)
133
 
134
 
135
  == Changelog ==
136
+ = 8.1.8 - 2019-01-29 =
137
+
138
+ * Fix: Minor bugs
139
+
140
+
141
  = 8.1.7 - 2019-01-18 =
142
 
143
  * New: Adds basic support for WPML content sharing(see revive.social docs)
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"class-rop-autoloader.php":"7bfbb1554230d0ace777adb2e42bebeb","index.php":"39ab8276fb0e4bd3fcab3270822c5977","tweet-old-post.php":"e0a82919dac8c225c60b3c1b39a63f37","uninstall.php":"88c3ec2a2919988f1ed38891cb37b6f1"}
1
+ {"class-rop-autoloader.php":"7bfbb1554230d0ace777adb2e42bebeb","index.php":"39ab8276fb0e4bd3fcab3270822c5977","tweet-old-post.php":"c7ca7abe68934e88b41a4cee3517b3ce","uninstall.php":"88c3ec2a2919988f1ed38891cb37b6f1"}
tweet-old-post.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Revive Old Posts
17
  * Plugin URI: https://revive.social/
18
  * Description: WordPress plugin that helps you to keeps your old posts alive by sharing them and driving more traffic to them from twitter/facebook or linkedin. It also helps you to promote your content. You can set time and no of posts to share to drive more traffic.For questions, comments, or feature requests, <a href="http://revive.social/support/?utm_source=plugindesc&utm_medium=announce&utm_campaign=top">contact </a> us!
19
- * Version: 8.1.7
20
  * Author: revive.social
21
  * Author URI: https://revive.social/
22
  * Requires at least: 3.5
@@ -98,7 +98,7 @@ function run_rop() {
98
  }
99
 
100
  define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
101
- define( 'ROP_LITE_VERSION', '8.1.7' );
102
  define( 'ROP_LITE_BASE_FILE', __FILE__ );
103
  define( 'ROP_DEBUG', false );
104
  define( 'ROP_LITE_PATH', plugin_dir_path( __FILE__ ) );
16
  * Plugin Name: Revive Old Posts
17
  * Plugin URI: https://revive.social/
18
  * Description: WordPress plugin that helps you to keeps your old posts alive by sharing them and driving more traffic to them from twitter/facebook or linkedin. It also helps you to promote your content. You can set time and no of posts to share to drive more traffic.For questions, comments, or feature requests, <a href="http://revive.social/support/?utm_source=plugindesc&utm_medium=announce&utm_campaign=top">contact </a> us!
19
+ * Version: 8.1.8
20
  * Author: revive.social
21
  * Author URI: https://revive.social/
22
  * Requires at least: 3.5
98
  }
99
 
100
  define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
101
+ define( 'ROP_LITE_VERSION', '8.1.8' );
102
  define( 'ROP_LITE_BASE_FILE', __FILE__ );
103
  define( 'ROP_DEBUG', false );
104
  define( 'ROP_LITE_PATH', plugin_dir_path( __FILE__ ) );
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit09c02fcb6d0b70eeaade92e973e480f0::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit8bea1964d84778fbd7ae3e9e79fbcabd::getLoader();
vendor/codeinwp/themeisle-sdk/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  ## [3.0.3](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.2...v3.0.3) (2019-01-07)
2
 
3
 
1
+ ## [3.0.4](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.3...v3.0.4) (2019-01-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * uninstall feedback disclosure issues when one of the feedback fields is open ([4631eef](https://github.com/Codeinwp/themeisle-sdk/commit/4631eef))
7
+
8
  ## [3.0.3](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.2...v3.0.3) (2019-01-07)
9
 
10
 
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  return;
15
  }
16
  // Current SDK version and path.
17
- $themeisle_sdk_version = '3.0.3';
18
  $themeisle_sdk_path = dirname( __FILE__ );
19
 
20
  global $themeisle_sdk_max_version;
14
  return;
15
  }
16
  // Current SDK version and path.
17
+ $themeisle_sdk_version = '3.0.4';
18
  $themeisle_sdk_path = dirname( __FILE__ );
19
 
20
  global $themeisle_sdk_max_version;
vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php CHANGED
@@ -411,6 +411,9 @@ class Licenser extends Abstract_Module {
411
  $license_data = new \stdClass();
412
  $license_data->license = ( 'valid' != $status ) ? 'valid' : 'invalid';
413
  }
 
 
 
414
  }
415
  if ( ! isset( $license_data->key ) ) {
416
  $license_data->key = $license;
411
  $license_data = new \stdClass();
412
  $license_data->license = ( 'valid' != $status ) ? 'valid' : 'invalid';
413
  }
414
+ if ( ! isset( $license_data->license ) ) {
415
+ $license_data->license = 'invalid';
416
+ }
417
  }
418
  if ( ! isset( $license_data->key ) ) {
419
  $license_data->key = $license;
vendor/codeinwp/themeisle-sdk/src/Modules/Rollback.php CHANGED
@@ -75,7 +75,9 @@ class Rollback extends Abstract_Module {
75
  $rollback = array();
76
  $versions = $this->get_api_versions();
77
  $versions = apply_filters( $this->product->get_key() . '_rollbacks', $versions );
78
-
 
 
79
  if ( $versions ) {
80
  usort( $versions, array( $this, 'sort_rollback_array' ) );
81
  foreach ( $versions as $version ) {
@@ -177,6 +179,9 @@ class Rollback extends Abstract_Module {
177
  */
178
  public function add_rollback_link( $links ) {
179
  $version = $this->get_rollback();
 
 
 
180
  $links[] = '<a href="' . wp_nonce_url( admin_url( 'admin-post.php?action=' . $this->product->get_key() . '_rollback' ), $this->product->get_key() . '_rollback' ) . '">' . sprintf( apply_filters( $this->product->get_key() . '_rollback_label', 'Rollback to v%s' ), $version['version'] ) . '</a>';
181
 
182
  return $links;
75
  $rollback = array();
76
  $versions = $this->get_api_versions();
77
  $versions = apply_filters( $this->product->get_key() . '_rollbacks', $versions );
78
+ if ( empty( $versions ) ) {
79
+ return $rollback;
80
+ }
81
  if ( $versions ) {
82
  usort( $versions, array( $this, 'sort_rollback_array' ) );
83
  foreach ( $versions as $version ) {
179
  */
180
  public function add_rollback_link( $links ) {
181
  $version = $this->get_rollback();
182
+ if ( empty( $version ) ) {
183
+ return $links;
184
+ }
185
  $links[] = '<a href="' . wp_nonce_url( admin_url( 'admin-post.php?action=' . $this->product->get_key() . '_rollback' ), $this->product->get_key() . '_rollback' ) . '">' . sprintf( apply_filters( $this->product->get_key() . '_rollback_label', 'Rollback to v%s' ), $version['version'] ) . '</a>';
186
 
187
  return $links;
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php CHANGED
@@ -203,20 +203,19 @@ class Uninstall_Feedback extends Abstract_Module {
203
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #<?php echo $key; ?>-info-disclosure-content {
204
  display: none;
205
  }
206
-
207
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open #<?php echo $key; ?>-info-disclosure-content {
208
  display: block;
209
- margin-top: 80px;
 
210
  }
211
 
212
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open #<?php echo $key; ?>-info-disclosure {
213
- top: -150px;
214
  }
215
 
216
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open {
217
- height: 570px !important;
218
  }
219
-
220
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #<?php echo $key; ?>-info-disclosure {
221
  position: absolute;
222
  top: -50px;
203
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #<?php echo $key; ?>-info-disclosure-content {
204
  display: none;
205
  }
 
206
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open #<?php echo $key; ?>-info-disclosure-content {
207
  display: block;
208
+ position:absolute;
209
+ bottom: 100px;
210
  }
211
 
212
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open #<?php echo $key; ?>-info-disclosure {
213
+ top: -130px;
214
  }
215
 
216
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open {
217
+ height: 590px !important;
218
  }
 
219
  body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #<?php echo $key; ?>-info-disclosure {
220
  position: absolute;
221
  top: -50px;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit09c02fcb6d0b70eeaade92e973e480f0
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit09c02fcb6d0b70eeaade92e973e480f0
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit09c02fcb6d0b70eeaade92e973e480f0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit09c02fcb6d0b70eeaade92e973e480f0', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit09c02fcb6d0b70eeaade92e973e480f0
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire09c02fcb6d0b70eeaade92e973e480f0($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire09c02fcb6d0b70eeaade92e973e480f0($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit8bea1964d84778fbd7ae3e9e79fbcabd
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8bea1964d84778fbd7ae3e9e79fbcabd', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8bea1964d84778fbd7ae3e9e79fbcabd', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire8bea1964d84778fbd7ae3e9e79fbcabd($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire8bea1964d84778fbd7ae3e9e79fbcabd($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -246,17 +246,17 @@
246
  },
247
  {
248
  "name": "codeinwp/themeisle-sdk",
249
- "version": "3.0.3",
250
- "version_normalized": "3.0.3.0",
251
  "source": {
252
  "type": "git",
253
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
254
- "reference": "2aa73079ca7523b23637caf90efb80af46df6aa0"
255
  },
256
  "dist": {
257
  "type": "zip",
258
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/2aa73079ca7523b23637caf90efb80af46df6aa0",
259
- "reference": "2aa73079ca7523b23637caf90efb80af46df6aa0",
260
  "shasum": ""
261
  },
262
  "require-dev": {
@@ -264,7 +264,7 @@
264
  "squizlabs/php_codesniffer": "^3.1",
265
  "wp-coding-standards/wpcs": "^1.0.0"
266
  },
267
- "time": "2019-01-07 10:33:38",
268
  "type": "library",
269
  "installation-source": "dist",
270
  "notification-url": "https://packagist.org/downloads/",
246
  },
247
  {
248
  "name": "codeinwp/themeisle-sdk",
249
+ "version": "3.0.4",
250
+ "version_normalized": "3.0.4.0",
251
  "source": {
252
  "type": "git",
253
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
254
+ "reference": "cf03ee5b93c6ca66f0c1a4916309f1270fe12319"
255
  },
256
  "dist": {
257
  "type": "zip",
258
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/cf03ee5b93c6ca66f0c1a4916309f1270fe12319",
259
+ "reference": "cf03ee5b93c6ca66f0c1a4916309f1270fe12319",
260
  "shasum": ""
261
  },
262
  "require-dev": {
264
  "squizlabs/php_codesniffer": "^3.1",
265
  "wp-coding-standards/wpcs": "^1.0.0"
266
  },
267
+ "time": "2019-01-28 12:17:14",
268
  "type": "library",
269
  "installation-source": "dist",
270
  "notification-url": "https://packagist.org/downloads/",