Version Description
- 2021-04-22
Download this release
Release Info
Developer | codeinwp |
Plugin | Revive Old Posts – Auto Post to Social Media |
Version | 9.0.1 |
Comparing to | |
See all releases |
Code changes from version 9.0.0 to 9.0.1
- CHANGELOG.md +3 -2
- includes/admin/class-rop-admin.php +2 -2
- includes/admin/models/class-rop-settings-model.php +16 -2
- includes/class-rop-i18n.php +1 -1
- includes/class-rop.php +1 -1
- readme.md +10 -1
- readme.txt +10 -1
- themeisle-hash.json +1 -1
- tweet-old-post.php +2 -2
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +5 -5
CHANGELOG.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
|
2 |
-
### v9.0.
|
3 |
**Changes:**
|
4 |
-
*
|
|
|
5 |
|
6 |
### v9.0.0 - 2021-04-21
|
7 |
**Changes:**
|
1 |
|
2 |
+
### v9.0.1 - 2021-04-22
|
3 |
**Changes:**
|
4 |
+
* [Fix Pro] Issue with saving maximum post age setting for users on Personal Plan
|
5 |
+
* [Change] Don't show ROP Log error notice to non-admins
|
6 |
|
7 |
### v9.0.0 - 2021-04-21
|
8 |
**Changes:**
|
includes/admin/class-rop-admin.php
CHANGED
@@ -72,9 +72,9 @@ class Rop_Admin {
|
|
72 |
public function display_global_status_warning() {
|
73 |
$log = new Rop_Logger();
|
74 |
$is_status_logs_alert = $log->is_status_error_necessary(); // true | false
|
75 |
-
if ( $is_status_logs_alert ) {
|
76 |
?>
|
77 |
-
<div class="notice notice-error is-dismissible">
|
78 |
<p>
|
79 |
<strong><?php echo esc_html( Rop_I18n::get_labels( 'general.plugin_name' ) ); ?></strong>:
|
80 |
<?php echo Rop_I18n::get_labels( 'general.status_error_global' ); ?>
|
72 |
public function display_global_status_warning() {
|
73 |
$log = new Rop_Logger();
|
74 |
$is_status_logs_alert = $log->is_status_error_necessary(); // true | false
|
75 |
+
if ( $is_status_logs_alert && current_user_can( 'manage_options' ) ) {
|
76 |
?>
|
77 |
+
<div id="rop-status-error" class="notice notice-error is-dismissible">
|
78 |
<p>
|
79 |
<strong><?php echo esc_html( Rop_I18n::get_labels( 'general.plugin_name' ) ); ?></strong>:
|
80 |
<?php echo Rop_I18n::get_labels( 'general.status_error_global' ); ?>
|
includes/admin/models/class-rop-settings-model.php
CHANGED
@@ -400,7 +400,15 @@ class Rop_Settings_Model extends Rop_Model_Abstract {
|
|
400 |
$data['default_interval'] = 0.1;
|
401 |
}
|
402 |
|
403 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
if ( $data['default_interval'] < $min_allowed ) {
|
405 |
$this->logger->alert_error( sprintf( Rop_I18n::get_labels( 'misc.min_interval_between_shares' ), $min_allowed ) );
|
406 |
$data['default_interval'] = $min_allowed;
|
@@ -418,7 +426,13 @@ class Rop_Settings_Model extends Rop_Model_Abstract {
|
|
418 |
$data['interval_r'] = 0.1;
|
419 |
}
|
420 |
|
421 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
if ( $data['interval_r'] < $min_allowed ) {
|
423 |
$this->logger->alert_error( sprintf( Rop_I18n::get_labels( 'misc.min_interval_between_shares' ), $min_allowed ) );
|
424 |
$data['interval_r'] = $min_allowed;
|
400 |
$data['default_interval'] = 0.1;
|
401 |
}
|
402 |
|
403 |
+
$global_settings = new Rop_Global_Settings();
|
404 |
+
$min_hours = 5;
|
405 |
+
|
406 |
+
if ( $global_settings->license_type() > 0 ) {
|
407 |
+
$min_hours = 0.5;
|
408 |
+
}
|
409 |
+
|
410 |
+
$min_allowed = apply_filters( 'rop_min_interval_bw_shares_min', ROP_DEBUG ? 0.1 : $min_hours );
|
411 |
+
|
412 |
if ( $data['default_interval'] < $min_allowed ) {
|
413 |
$this->logger->alert_error( sprintf( Rop_I18n::get_labels( 'misc.min_interval_between_shares' ), $min_allowed ) );
|
414 |
$data['default_interval'] = $min_allowed;
|
426 |
$data['interval_r'] = 0.1;
|
427 |
}
|
428 |
|
429 |
+
$min_hours = 5;
|
430 |
+
|
431 |
+
if ( $global_settings->license_type() > 0 ) {
|
432 |
+
$min_hours = 0.5;
|
433 |
+
}
|
434 |
+
|
435 |
+
$min_allowed = apply_filters( 'rop_min_interval_bw_shares_min', ROP_DEBUG ? 0.1 : $min_hours );
|
436 |
if ( $data['interval_r'] < $min_allowed ) {
|
437 |
$this->logger->alert_error( sprintf( Rop_I18n::get_labels( 'misc.min_interval_between_shares' ), $min_allowed ) );
|
438 |
$data['interval_r'] = $min_allowed;
|
includes/class-rop-i18n.php
CHANGED
@@ -441,7 +441,7 @@ You can try to disable any of the security plugins that you use in order to see
|
|
441 |
'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
|
442 |
'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
|
443 |
'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
|
444 |
-
'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %
|
445 |
'min_recurring_schedule_interval' => __( 'Lowest allowed value for "Recurring Schedule Interval" is %d minutes.', 'tweet-old-post' ),
|
446 |
'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
|
447 |
'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-post' ),
|
441 |
'revive_network_learn_more_btn' => __( 'Learn More', 'tweet-old-post' ),
|
442 |
'learn_more' => __( 'Learn More!', 'tweet-old-post' ),
|
443 |
'min_interval_6_mins' => __( 'Minimum interval between consecutive shares is 6 minutes.', 'tweet-old-post' ),
|
444 |
+
'min_interval_between_shares' => __( 'Lowest allowed value for "Minimum Interval Between Shares" is %s hours. Upgrade to Business Plan or higher to fine tune posting times and days.', 'tweet-old-post' ),
|
445 |
'min_recurring_schedule_interval' => __( 'Lowest allowed value for "Recurring Schedule Interval" is %d minutes.', 'tweet-old-post' ),
|
446 |
'no_post_types_selected' => __( 'You need to have at least one post type to share.', 'tweet-old-post' ),
|
447 |
'min_number_of_concurrent_posts' => __( 'At least one posts need to be shared.', 'tweet-old-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 = '9.0.
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
68 |
public function __construct() {
|
69 |
|
70 |
$this->plugin_name = 'rop';
|
71 |
+
$this->version = '9.0.1';
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
readme.md
CHANGED
@@ -143,6 +143,8 @@ Some of the available networks and features require the Pro version of the plugi
|
|
143 |
|
144 |
- Post to Vk Communities [Pro]
|
145 |
|
|
|
|
|
146 |
And More! Try Revive Old Posts, see why it's the **best** WordPress social media marketing tool to boost your site traffic and keep your followers engaged.
|
147 |
|
148 |
|
@@ -152,7 +154,7 @@ Using the PRO version of Revive Old Posts unlocks a host of additional features
|
|
152 |
|
153 |
**Awesome features in Pro:**
|
154 |
|
155 |
-
- RSS feed sharing. Share feed items from ANY website to your connected social media accounts. With the Revive Network addon(available with Revive Old Posts Pro)
|
156 |
|
157 |
- [Support for WordPress Custom Post Types](https://docs.revive.social/article/968-how-to-share-different-wordpress-post-types-to-social-media-w-revive-old-posts) (WooCommerce Products, BigCommerce Products, Recipes etc.)
|
158 |
|
@@ -162,6 +164,7 @@ Using the PRO version of Revive Old Posts unlocks a host of additional features
|
|
162 |
|
163 |
- Share **WordPress scheduled posts** to social media on publish. [Learn More](https://docs.revive.social/article/1194-share-scheduled-posts-to-social-media-on-publish-with-revive-old-posts)
|
164 |
|
|
|
165 |
|
166 |
- **WordPress to Facebook Groups** scheduling and auto post
|
167 |
|
@@ -297,6 +300,12 @@ http://revive.social/plugins/revive-old-post
|
|
297 |
|
298 |
|
299 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
### 9.0.0 - 2021-04-21 ###
|
301 |
|
302 |
* [Note] This version is a major update and moves some features to the Pro version of the plugin
|
143 |
|
144 |
- Post to Vk Communities [Pro]
|
145 |
|
146 |
+
- Share multilingual posts to respective pages with WPML example, share English Posts to your English social media accounts and Spanish posts to your Spanish social media accounts. [Pro]
|
147 |
+
|
148 |
And More! Try Revive Old Posts, see why it's the **best** WordPress social media marketing tool to boost your site traffic and keep your followers engaged.
|
149 |
|
150 |
|
154 |
|
155 |
**Awesome features in Pro:**
|
156 |
|
157 |
+
- RSS feed sharing. Share feed items from ANY website to your connected social media accounts. With the [Revive Network addon](https://revive.social/plugins/revive-network/) it's all possible (available free with Revive Old Posts Pro).
|
158 |
|
159 |
- [Support for WordPress Custom Post Types](https://docs.revive.social/article/968-how-to-share-different-wordpress-post-types-to-social-media-w-revive-old-posts) (WooCommerce Products, BigCommerce Products, Recipes etc.)
|
160 |
|
164 |
|
165 |
- Share **WordPress scheduled posts** to social media on publish. [Learn More](https://docs.revive.social/article/1194-share-scheduled-posts-to-social-media-on-publish-with-revive-old-posts)
|
166 |
|
167 |
+
- Finer **WPML support** for multilingual websites. [Learn More](https://docs.revive.social/article/1338-how-to-share-different-wpml-languages-to-different-social-media-accounts)
|
168 |
|
169 |
- **WordPress to Facebook Groups** scheduling and auto post
|
170 |
|
300 |
|
301 |
|
302 |
## Changelog ##
|
303 |
+
### 9.0.1 - 2021-04-22 ###
|
304 |
+
|
305 |
+
* [Fix Pro] Issue with saving maximum post age setting for users on Personal Plan
|
306 |
+
* [Change] Don't show ROP Log error notice to non-admins
|
307 |
+
|
308 |
+
|
309 |
### 9.0.0 - 2021-04-21 ###
|
310 |
|
311 |
* [Note] This version is a major update and moves some features to the Pro version of the plugin
|
readme.txt
CHANGED
@@ -143,6 +143,8 @@ Some of the available networks and features require the Pro version of the plugi
|
|
143 |
|
144 |
- Post to Vk Communities [Pro]
|
145 |
|
|
|
|
|
146 |
And More! Try Revive Old Posts, see why it's the **best** WordPress social media marketing tool to boost your site traffic and keep your followers engaged.
|
147 |
|
148 |
|
@@ -152,7 +154,7 @@ Using the PRO version of Revive Old Posts unlocks a host of additional features
|
|
152 |
|
153 |
**Awesome features in Pro:**
|
154 |
|
155 |
-
- RSS feed sharing. Share feed items from ANY website to your connected social media accounts. With the Revive Network addon(available with Revive Old Posts Pro)
|
156 |
|
157 |
- [Support for WordPress Custom Post Types](https://docs.revive.social/article/968-how-to-share-different-wordpress-post-types-to-social-media-w-revive-old-posts) (WooCommerce Products, BigCommerce Products, Recipes etc.)
|
158 |
|
@@ -162,6 +164,7 @@ Using the PRO version of Revive Old Posts unlocks a host of additional features
|
|
162 |
|
163 |
- Share **WordPress scheduled posts** to social media on publish. [Learn More](https://docs.revive.social/article/1194-share-scheduled-posts-to-social-media-on-publish-with-revive-old-posts)
|
164 |
|
|
|
165 |
|
166 |
- **WordPress to Facebook Groups** scheduling and auto post
|
167 |
|
@@ -297,6 +300,12 @@ http://revive.social/plugins/revive-old-post
|
|
297 |
|
298 |
|
299 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
= 9.0.0 - 2021-04-21 =
|
301 |
|
302 |
* [Note] This version is a major update and moves some features to the Pro version of the plugin
|
143 |
|
144 |
- Post to Vk Communities [Pro]
|
145 |
|
146 |
+
- Share multilingual posts to respective pages with WPML example, share English Posts to your English social media accounts and Spanish posts to your Spanish social media accounts. [Pro]
|
147 |
+
|
148 |
And More! Try Revive Old Posts, see why it's the **best** WordPress social media marketing tool to boost your site traffic and keep your followers engaged.
|
149 |
|
150 |
|
154 |
|
155 |
**Awesome features in Pro:**
|
156 |
|
157 |
+
- RSS feed sharing. Share feed items from ANY website to your connected social media accounts. With the [Revive Network addon](https://revive.social/plugins/revive-network/) it's all possible (available free with Revive Old Posts Pro).
|
158 |
|
159 |
- [Support for WordPress Custom Post Types](https://docs.revive.social/article/968-how-to-share-different-wordpress-post-types-to-social-media-w-revive-old-posts) (WooCommerce Products, BigCommerce Products, Recipes etc.)
|
160 |
|
164 |
|
165 |
- Share **WordPress scheduled posts** to social media on publish. [Learn More](https://docs.revive.social/article/1194-share-scheduled-posts-to-social-media-on-publish-with-revive-old-posts)
|
166 |
|
167 |
+
- Finer **WPML support** for multilingual websites. [Learn More](https://docs.revive.social/article/1338-how-to-share-different-wpml-languages-to-different-social-media-accounts)
|
168 |
|
169 |
- **WordPress to Facebook Groups** scheduling and auto post
|
170 |
|
300 |
|
301 |
|
302 |
== Changelog ==
|
303 |
+
= 9.0.1 - 2021-04-22 =
|
304 |
+
|
305 |
+
* [Fix Pro] Issue with saving maximum post age setting for users on Personal Plan
|
306 |
+
* [Change] Don't show ROP Log error notice to non-admins
|
307 |
+
|
308 |
+
|
309 |
= 9.0.0 - 2021-04-21 =
|
310 |
|
311 |
* [Note] This version is a major update and moves some features to the Pro version of the plugin
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"class-rop-autoloader.php":"7bfbb1554230d0ace777adb2e42bebeb","index.php":"39ab8276fb0e4bd3fcab3270822c5977","tweet-old-post.php":"
|
1 |
+
{"class-rop-autoloader.php":"7bfbb1554230d0ace777adb2e42bebeb","index.php":"39ab8276fb0e4bd3fcab3270822c5977","tweet-old-post.php":"dbbe5e84232d5039c733e6190170206c","uninstall.php":"c350fd79cac473d2dcdabc0bc277dd23"}
|
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: 9.0.
|
20 |
* Author: revive.social
|
21 |
* Author URI: https://revive.social/
|
22 |
* Requires at least: 3.5
|
@@ -162,7 +162,7 @@ function run_rop() {
|
|
162 |
define( 'ROP_CRON_ALTERNATIVE', $use_remote_cron );
|
163 |
|
164 |
define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
|
165 |
-
define( 'ROP_LITE_VERSION', '9.0.
|
166 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
167 |
$debug = false;
|
168 |
if ( function_exists( 'wp_get_environment_type' ) ) {
|
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: 9.0.1
|
20 |
* Author: revive.social
|
21 |
* Author URI: https://revive.social/
|
22 |
* Requires at least: 3.5
|
162 |
define( 'ROP_CRON_ALTERNATIVE', $use_remote_cron );
|
163 |
|
164 |
define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
|
165 |
+
define( 'ROP_LITE_VERSION', '9.0.1' );
|
166 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
167 |
$debug = false;
|
168 |
if ( function_exists( 'wp_get_environment_type' ) ) {
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit01ea363b767cffd363769cdabd72a37f::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit1dc5d7d20a8d2ccd9530a023f302fe35
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit1dc5d7d20a8d2ccd9530a023f302fe35
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit01ea363b767cffd363769cdabd72a37f
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit01ea363b767cffd363769cdabd72a37f', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit01ea363b767cffd363769cdabd72a37f', '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 |
+
composerRequire01ea363b767cffd363769cdabd72a37f($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire01ea363b767cffd363769cdabd72a37f($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|