Version Description
- 2020-12-08
Download this release
Release Info
Developer | codeinwp |
Plugin | Revive Old Posts – Auto Post to Social Media |
Version | 8.6.3 |
Comparing to | |
See all releases |
Code changes from version 8.6.2 to 8.6.3
- CHANGELOG.md +4 -0
- includes/admin/abstract/class-rop-services-abstract.php +2 -1
- includes/admin/class-rop-admin.php +39 -3
- includes/admin/helpers/class-rop-cron-helper.php +1 -1
- includes/admin/helpers/class-rop-post-format-helper.php +46 -16
- includes/admin/models/class-rop-posts-selector-model.php +7 -2
- includes/admin/models/class-rop-queue-model.php +11 -1
- includes/admin/models/class-rop-scheduler-model.php +1 -1
- includes/admin/services/class-rop-facebook-service.php +9 -0
- includes/admin/services/class-rop-gmb-service.php +2 -3
- includes/admin/services/class-rop-tumblr-service.php +3 -1
- includes/admin/services/class-rop-twitter-service.php +1 -1
- includes/class-rop.php +1 -1
- readme.md +5 -0
- readme.txt +5 -0
- 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,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
### v8.6.2 - 2020-12-01
|
3 |
**Changes:**
|
4 |
* Fix PRO: Error in the dashboard if the user had a previously connected Buffer account inside ROP and tried to update the plugin. A notice will now be shown with a link to updating steps for those situations.
|
1 |
|
2 |
+
### v8.6.3 - 2020-12-08
|
3 |
+
**Changes:**
|
4 |
+
* Info Pro: Add Revive Network base support. Apply to be a Beta tester [here](https://forms.gle/M4mcqrFZze4Pe4pu7)
|
5 |
+
|
6 |
### v8.6.2 - 2020-12-01
|
7 |
**Changes:**
|
8 |
* Fix PRO: Error in the dashboard if the user had a previously connected Buffer account inside ROP and tried to update the plugin. A notice will now be shown with a link to updating steps for those situations.
|
includes/admin/abstract/class-rop-services-abstract.php
CHANGED
@@ -259,7 +259,7 @@ abstract class Rop_Services_Abstract {
|
|
259 |
}
|
260 |
|
261 |
/**
|
262 |
-
* Method to
|
263 |
*
|
264 |
* @since 8.0.0
|
265 |
* @access public
|
@@ -805,4 +805,5 @@ abstract class Rop_Services_Abstract {
|
|
805 |
|
806 |
return $given_id;
|
807 |
}
|
|
|
808 |
}
|
259 |
}
|
260 |
|
261 |
/**
|
262 |
+
* Method to get currently active accounts for the service.
|
263 |
*
|
264 |
* @since 8.0.0
|
265 |
* @access public
|
805 |
|
806 |
return $given_id;
|
807 |
}
|
808 |
+
|
809 |
}
|
includes/admin/class-rop-admin.php
CHANGED
@@ -587,7 +587,8 @@ class Rop_Admin {
|
|
587 |
array(
|
588 |
$this,
|
589 |
'rop_main_page',
|
590 |
-
)
|
|
|
591 |
);
|
592 |
add_submenu_page(
|
593 |
'TweetOldPost',
|
@@ -1018,6 +1019,11 @@ class Rop_Admin {
|
|
1018 |
$logger = new Rop_Logger();
|
1019 |
$service_factory = new Rop_Services_Factory();
|
1020 |
$refresh_rop_data = false;
|
|
|
|
|
|
|
|
|
|
|
1021 |
|
1022 |
$cron = new Rop_Cron_Helper();
|
1023 |
$cron->create_cron( false );
|
@@ -1046,6 +1052,7 @@ class Rop_Admin {
|
|
1046 |
try {
|
1047 |
$service = $service_factory->build( $account_data['service'] );
|
1048 |
$service->set_credentials( $account_data['credentials'] );
|
|
|
1049 |
foreach ( $posts as $post ) {
|
1050 |
$post_shared = $account . '_post_id_' . $post;
|
1051 |
if ( get_option( 'rop_last_post_shared' ) === $post_shared && ROP_DEBUG !== true ) {
|
@@ -1053,10 +1060,39 @@ class Rop_Admin {
|
|
1053 |
// help prevent duplicate posts on some systems
|
1054 |
continue;
|
1055 |
}
|
|
|
1056 |
$post_data = $queue->prepare_post_object( $post, $account );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1057 |
$logger->info( 'Posting', array( 'extra' => $post_data ) );
|
1058 |
-
$service->share( $post_data, $account_data );
|
1059 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1060 |
}
|
1061 |
} catch ( Exception $exception ) {
|
1062 |
$error_message = sprintf( Rop_I18n::get_labels( 'accounts.service_error' ), $account_data['service'] );
|
587 |
array(
|
588 |
$this,
|
589 |
'rop_main_page',
|
590 |
+
),
|
591 |
+
0
|
592 |
);
|
593 |
add_submenu_page(
|
594 |
'TweetOldPost',
|
1019 |
$logger = new Rop_Logger();
|
1020 |
$service_factory = new Rop_Services_Factory();
|
1021 |
$refresh_rop_data = false;
|
1022 |
+
$revive_network_active = false;
|
1023 |
+
|
1024 |
+
if ( class_exists( 'Revive_Network_Rop_Post_Helper' ) ) {
|
1025 |
+
$revive_network_active = true;
|
1026 |
+
}
|
1027 |
|
1028 |
$cron = new Rop_Cron_Helper();
|
1029 |
$cron->create_cron( false );
|
1052 |
try {
|
1053 |
$service = $service_factory->build( $account_data['service'] );
|
1054 |
$service->set_credentials( $account_data['credentials'] );
|
1055 |
+
|
1056 |
foreach ( $posts as $post ) {
|
1057 |
$post_shared = $account . '_post_id_' . $post;
|
1058 |
if ( get_option( 'rop_last_post_shared' ) === $post_shared && ROP_DEBUG !== true ) {
|
1060 |
// help prevent duplicate posts on some systems
|
1061 |
continue;
|
1062 |
}
|
1063 |
+
|
1064 |
$post_data = $queue->prepare_post_object( $post, $account );
|
1065 |
+
|
1066 |
+
if ( $revive_network_active ) {
|
1067 |
+
|
1068 |
+
if ( Revive_Network_Rop_Post_Helper::rn_is_revive_network_share( $post_data['post_id'] ) ) {
|
1069 |
+
|
1070 |
+
$revive_network_settings = Revive_Network_Rop_Post_Helper::revive_network_get_plugin_settings();
|
1071 |
+
$delete_post_after_share = $revive_network_settings['delete_rss_item_after_share'];
|
1072 |
+
|
1073 |
+
// adjust post data to suit Revive Network
|
1074 |
+
$post_data = Revive_Network_Rop_Post_Helper::revive_network_prepare_revive_network_share( $post_data );
|
1075 |
+
}
|
1076 |
+
}
|
1077 |
+
|
1078 |
$logger->info( 'Posting', array( 'extra' => $post_data ) );
|
1079 |
+
$response = $service->share( $post_data, $account_data );
|
1080 |
+
|
1081 |
+
if ( $revive_network_active ) {
|
1082 |
+
|
1083 |
+
if ( Revive_Network_Rop_Post_Helper::rn_is_revive_network_share( $post_data['post_id'] ) ) {
|
1084 |
+
// Delete Feed post after it has been shared if the option is checked in RN settings.
|
1085 |
+
if ( $response === true && ! empty( $delete_post_after_share ) ) {
|
1086 |
+
|
1087 |
+
Revive_Network_Rop_Post_Helper::rn_delete_revive_network_feed_post( $post, $account, $queue );
|
1088 |
+
|
1089 |
+
}
|
1090 |
+
}
|
1091 |
+
}
|
1092 |
+
|
1093 |
+
if ( $response === true ) {
|
1094 |
+
update_option( 'rop_last_post_shared', $post_shared );
|
1095 |
+
}
|
1096 |
}
|
1097 |
} catch ( Exception $exception ) {
|
1098 |
$error_message = sprintf( Rop_I18n::get_labels( 'accounts.service_error' ), $account_data['service'] );
|
includes/admin/helpers/class-rop-cron-helper.php
CHANGED
@@ -44,7 +44,7 @@ class Rop_Cron_Helper {
|
|
44 |
*/
|
45 |
public static function rop_cron_schedules( $schedules ) {
|
46 |
$schedules['5min'] = array(
|
47 |
-
'interval' =>
|
48 |
'display' => Rop_I18n::get_labels( 'general.cron_interval' ),
|
49 |
);
|
50 |
|
44 |
*/
|
45 |
public static function rop_cron_schedules( $schedules ) {
|
46 |
$schedules['5min'] = array(
|
47 |
+
'interval' => 5 * 60,
|
48 |
'display' => Rop_I18n::get_labels( 'general.cron_interval' ),
|
49 |
);
|
50 |
|
includes/admin/helpers/class-rop-post-format-helper.php
CHANGED
@@ -770,30 +770,60 @@ class Rop_Post_Format_Helper {
|
|
770 |
|
771 |
$post_url = apply_filters( 'rop_raw_post_url', $post_url, $post_id );
|
772 |
$global_settings = new Rop_Global_Settings();
|
773 |
-
$settings_model = new Rop_Settings_Model();
|
774 |
|
775 |
-
if ( $
|
776 |
-
$
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
$post_url
|
781 |
}
|
782 |
|
783 |
-
|
784 |
-
|
785 |
-
$utm_medium = $this->get_utm_tags( 'utm_campaign_medium' );
|
786 |
-
$utm_campaign = $this->get_utm_tags( 'utm_campaign_name' );
|
787 |
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
793 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
794 |
}
|
795 |
|
796 |
return $post_url;
|
|
|
797 |
}
|
798 |
|
799 |
/**
|
770 |
|
771 |
$post_url = apply_filters( 'rop_raw_post_url', $post_url, $post_id );
|
772 |
$global_settings = new Rop_Global_Settings();
|
|
|
773 |
|
774 |
+
if ( $global_settings->license_type() <= 0 ) {
|
775 |
+
$post_url = $this->rop_prepare_utm_link( $post_url, true );
|
776 |
+
}
|
777 |
+
|
778 |
+
if ( $global_settings->license_type() > 0 ) {
|
779 |
+
$post_url = $this->rop_prepare_utm_link( $post_url, false );
|
780 |
}
|
781 |
|
782 |
+
return $post_url;
|
783 |
+
}
|
|
|
|
|
784 |
|
785 |
+
/**
|
786 |
+
* Method to add the UTM tags to the post URL.
|
787 |
+
*
|
788 |
+
* @since 8.6.0
|
789 |
+
* @access public
|
790 |
+
*
|
791 |
+
* @param string $post_url The post url.
|
792 |
+
* @param bool $free Whether this is a free plan.
|
793 |
+
*
|
794 |
+
* @return string
|
795 |
+
*/
|
796 |
+
public function rop_prepare_utm_link( $post_url, $free = true ) {
|
797 |
|
798 |
+
$settings_model = new Rop_Settings_Model();
|
799 |
+
|
800 |
+
if ( $settings_model->get_ga_tracking() ) {
|
801 |
+
|
802 |
+
if ( $free ) {
|
803 |
+
|
804 |
+
$params = array();
|
805 |
+
$params['utm_source'] = 'ReviveOldPost';
|
806 |
+
$params['utm_medium'] = 'social';
|
807 |
+
$params['utm_campaign'] = 'ReviveOldPost';
|
808 |
+
$post_url = add_query_arg( $params, $post_url );
|
809 |
+
|
810 |
+
} else {
|
811 |
+
|
812 |
+
$utm_source = $this->get_utm_tags( 'utm_campaign_source' );
|
813 |
+
$utm_medium = $this->get_utm_tags( 'utm_campaign_medium' );
|
814 |
+
$utm_campaign = $this->get_utm_tags( 'utm_campaign_name' );
|
815 |
+
|
816 |
+
$params = array();
|
817 |
+
$params['utm_source'] = empty( $utm_source ) ? 'ReviveOldPost' : $utm_source;
|
818 |
+
$params['utm_medium'] = empty( $utm_medium ) ? 'social' : $utm_medium;
|
819 |
+
$params['utm_campaign'] = empty( $utm_campaign ) ? 'ReviveOldPost' : $utm_campaign;
|
820 |
+
$post_url = empty( $post_url ) ? '' : add_query_arg( $params, $post_url );
|
821 |
+
|
822 |
+
}
|
823 |
}
|
824 |
|
825 |
return $post_url;
|
826 |
+
|
827 |
}
|
828 |
|
829 |
/**
|
includes/admin/models/class-rop-posts-selector-model.php
CHANGED
@@ -570,7 +570,7 @@ class Rop_Posts_Selector_Model extends Rop_Model_Abstract {
|
|
570 |
array_push( $this->buffer[ $account_id ], $post_id );
|
571 |
}
|
572 |
|
573 |
-
$this->set( 'posts_buffer', $this->buffer, $refresh );
|
574 |
}
|
575 |
|
576 |
/**
|
@@ -641,7 +641,12 @@ class Rop_Posts_Selector_Model extends Rop_Model_Abstract {
|
|
641 |
$post = apply_filters( 'wpml_object_id', $post_id, $post_type, false, $lang_code );
|
642 |
}
|
643 |
|
644 |
-
|
|
|
|
|
|
|
|
|
|
|
645 |
}
|
646 |
|
647 |
/**
|
570 |
array_push( $this->buffer[ $account_id ], $post_id );
|
571 |
}
|
572 |
|
573 |
+
return $this->set( 'posts_buffer', $this->buffer, $refresh );
|
574 |
}
|
575 |
|
576 |
/**
|
641 |
$post = apply_filters( 'wpml_object_id', $post_id, $post_type, false, $lang_code );
|
642 |
}
|
643 |
|
644 |
+
if ( empty( $post ) ) {
|
645 |
+
return $post_id;
|
646 |
+
} else {
|
647 |
+
return $post;
|
648 |
+
}
|
649 |
+
|
650 |
}
|
651 |
|
652 |
/**
|
includes/admin/models/class-rop-queue-model.php
CHANGED
@@ -136,7 +136,6 @@ class Rop_Queue_Model extends Rop_Model_Abstract {
|
|
136 |
* @param array $queue New queue to update.
|
137 |
*/
|
138 |
public function update_queue( $queue ) {
|
139 |
-
|
140 |
$this->set( $this->queue_namespace, $queue );
|
141 |
$this->queue = $queue;
|
142 |
}
|
@@ -271,6 +270,7 @@ class Rop_Queue_Model extends Rop_Model_Abstract {
|
|
271 |
}
|
272 |
$queue = $this->build_queue();
|
273 |
$ordered = array();
|
|
|
274 |
foreach ( $queue as $account_id => $data ) {
|
275 |
foreach ( $data as $index => $events_posts ) {
|
276 |
if ( ! isset( $events_posts['posts'] ) ) {
|
@@ -284,6 +284,16 @@ class Rop_Queue_Model extends Rop_Model_Abstract {
|
|
284 |
if ( Rop_Scheduler_Model::get_current_time() > $events_posts['time'] ) {
|
285 |
continue;
|
286 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
$ordered[] = array(
|
288 |
'time' => $events_posts['time'],
|
289 |
'post_data' => array(
|
136 |
* @param array $queue New queue to update.
|
137 |
*/
|
138 |
public function update_queue( $queue ) {
|
|
|
139 |
$this->set( $this->queue_namespace, $queue );
|
140 |
$this->queue = $queue;
|
141 |
}
|
270 |
}
|
271 |
$queue = $this->build_queue();
|
272 |
$ordered = array();
|
273 |
+
|
274 |
foreach ( $queue as $account_id => $data ) {
|
275 |
foreach ( $data as $index => $events_posts ) {
|
276 |
if ( ! isset( $events_posts['posts'] ) ) {
|
284 |
if ( Rop_Scheduler_Model::get_current_time() > $events_posts['time'] ) {
|
285 |
continue;
|
286 |
}
|
287 |
+
|
288 |
+
/*
|
289 |
+
Prevents queue from showing posts that do not exist
|
290 |
+
* on the website. This can occur when a post is deleted
|
291 |
+
* and queue hasn't yet refreshed.
|
292 |
+
*/
|
293 |
+
if ( empty( get_post_status( $post_id ) ) ) {
|
294 |
+
continue;
|
295 |
+
}
|
296 |
+
|
297 |
$ordered[] = array(
|
298 |
'time' => $events_posts['time'],
|
299 |
'post_data' => array(
|
includes/admin/models/class-rop-scheduler-model.php
CHANGED
@@ -256,6 +256,7 @@ class Rop_Scheduler_Model extends Rop_Model_Abstract {
|
|
256 |
if ( ! is_array( $account_events ) ) {
|
257 |
$account_events = array();
|
258 |
}
|
|
|
259 |
if ( count( $account_events ) === self::EVENTS_PER_ACCOUNT ) {
|
260 |
return $account_events;
|
261 |
}
|
@@ -303,7 +304,6 @@ class Rop_Scheduler_Model extends Rop_Model_Abstract {
|
|
303 |
if ( empty( $events ) && 0 === $retry ) {
|
304 |
$events = $this->get_upcoming_events( $account_id, $retry );
|
305 |
}
|
306 |
-
|
307 |
return $events;
|
308 |
}
|
309 |
|
256 |
if ( ! is_array( $account_events ) ) {
|
257 |
$account_events = array();
|
258 |
}
|
259 |
+
|
260 |
if ( count( $account_events ) === self::EVENTS_PER_ACCOUNT ) {
|
261 |
return $account_events;
|
262 |
}
|
304 |
if ( empty( $events ) && 0 === $retry ) {
|
305 |
$events = $this->get_upcoming_events( $account_id, $retry );
|
306 |
}
|
|
|
307 |
return $events;
|
308 |
}
|
309 |
|
includes/admin/services/class-rop-facebook-service.php
CHANGED
@@ -492,9 +492,13 @@ class Rop_Facebook_Service extends Rop_Services_Abstract {
|
|
492 |
$post_details['service']
|
493 |
)
|
494 |
);
|
|
|
|
|
|
|
495 |
} else {
|
496 |
return false;
|
497 |
}
|
|
|
498 |
}
|
499 |
|
500 |
/**
|
@@ -988,6 +992,11 @@ class Rop_Facebook_Service extends Rop_Services_Abstract {
|
|
988 |
*/
|
989 |
public function rop_fb_scrape_url( $posting_type, $post_id, $token ) {
|
990 |
|
|
|
|
|
|
|
|
|
|
|
991 |
// Scrape post URL before sharing
|
992 |
if ( $posting_type !== 'video' && $posting_type !== 'photo' ) {
|
993 |
|
492 |
$post_details['service']
|
493 |
)
|
494 |
);
|
495 |
+
|
496 |
+
return true;
|
497 |
+
|
498 |
} else {
|
499 |
return false;
|
500 |
}
|
501 |
+
|
502 |
}
|
503 |
|
504 |
/**
|
992 |
*/
|
993 |
public function rop_fb_scrape_url( $posting_type, $post_id, $token ) {
|
994 |
|
995 |
+
if ( get_post_type( $post_id ) === 'revive-network-share' ) {
|
996 |
+
$this->logger->info( 'This is a Revive Network share, skipped Facebook scraping.' );
|
997 |
+
return;
|
998 |
+
}
|
999 |
+
|
1000 |
// Scrape post URL before sharing
|
1001 |
if ( $posting_type !== 'video' && $posting_type !== 'photo' ) {
|
1002 |
|
includes/admin/services/class-rop-gmb-service.php
CHANGED
@@ -509,14 +509,13 @@ class Rop_Gmb_Service extends Rop_Services_Abstract {
|
|
509 |
)
|
510 |
);
|
511 |
|
|
|
512 |
} else {
|
513 |
|
514 |
$this->logger->alert_error( Rop_I18n::get_labels( 'errors.gmb_failed_share' ) . print_r( $response, true ) );
|
515 |
-
|
516 |
}
|
517 |
|
518 |
-
return true;
|
519 |
-
|
520 |
}
|
521 |
|
522 |
/**
|
509 |
)
|
510 |
);
|
511 |
|
512 |
+
return true;
|
513 |
} else {
|
514 |
|
515 |
$this->logger->alert_error( Rop_I18n::get_labels( 'errors.gmb_failed_share' ) . print_r( $response, true ) );
|
516 |
+
return false;
|
517 |
}
|
518 |
|
|
|
|
|
519 |
}
|
520 |
|
521 |
/**
|
includes/admin/services/class-rop-tumblr-service.php
CHANGED
@@ -512,6 +512,9 @@ class Rop_Tumblr_Service extends Rop_Services_Abstract {
|
|
512 |
$post_details['service']
|
513 |
)
|
514 |
);
|
|
|
|
|
|
|
515 |
} catch ( Exception $exception ) {
|
516 |
$this->logger->alert_error( 'Posting failed to Tumblr. Error: ' . $exception->getMessage() );
|
517 |
$this->rop_get_error_docs( $exception->getMessage() );
|
@@ -519,7 +522,6 @@ class Rop_Tumblr_Service extends Rop_Services_Abstract {
|
|
519 |
return false;
|
520 |
}
|
521 |
|
522 |
-
return true;
|
523 |
}
|
524 |
|
525 |
/**
|
512 |
$post_details['service']
|
513 |
)
|
514 |
);
|
515 |
+
|
516 |
+
return true;
|
517 |
+
|
518 |
} catch ( Exception $exception ) {
|
519 |
$this->logger->alert_error( 'Posting failed to Tumblr. Error: ' . $exception->getMessage() );
|
520 |
$this->rop_get_error_docs( $exception->getMessage() );
|
522 |
return false;
|
523 |
}
|
524 |
|
|
|
525 |
}
|
526 |
|
527 |
/**
|
includes/admin/services/class-rop-twitter-service.php
CHANGED
@@ -511,9 +511,9 @@ class Rop_Twitter_Service extends Rop_Services_Abstract {
|
|
511 |
} else {
|
512 |
$this->logger->alert_error( sprintf( 'Error posting on twitter. Error: %s', json_encode( $response ) ) );
|
513 |
$this->rop_get_error_docs( $response );
|
|
|
514 |
}
|
515 |
|
516 |
-
return false;
|
517 |
}
|
518 |
|
519 |
/**
|
511 |
} else {
|
512 |
$this->logger->alert_error( sprintf( 'Error posting on twitter. Error: %s', json_encode( $response ) ) );
|
513 |
$this->rop_get_error_docs( $response );
|
514 |
+
return false;
|
515 |
}
|
516 |
|
|
|
517 |
}
|
518 |
|
519 |
/**
|
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.6.
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
68 |
public function __construct() {
|
69 |
|
70 |
$this->plugin_name = 'rop';
|
71 |
+
$this->version = '8.6.3';
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
readme.md
CHANGED
@@ -261,6 +261,11 @@ http://revive.social/plugins/revive-old-post
|
|
261 |
|
262 |
|
263 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
264 |
### 8.6.2 - 2020-12-01 ###
|
265 |
|
266 |
* Fix PRO: Error in the dashboard if the user had a previously connected Buffer account inside ROP and tried to update the plugin. A notice will now be shown with a link to updating steps for those situations.
|
261 |
|
262 |
|
263 |
## Changelog ##
|
264 |
+
### 8.6.3 - 2020-12-08 ###
|
265 |
+
|
266 |
+
* Info Pro: Add Revive Network base support. Apply to be a Beta tester [here](https://forms.gle/M4mcqrFZze4Pe4pu7)
|
267 |
+
|
268 |
+
|
269 |
### 8.6.2 - 2020-12-01 ###
|
270 |
|
271 |
* Fix PRO: Error in the dashboard if the user had a previously connected Buffer account inside ROP and tried to update the plugin. A notice will now be shown with a link to updating steps for those situations.
|
readme.txt
CHANGED
@@ -261,6 +261,11 @@ http://revive.social/plugins/revive-old-post
|
|
261 |
|
262 |
|
263 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
264 |
= 8.6.2 - 2020-12-01 =
|
265 |
|
266 |
* Fix PRO: Error in the dashboard if the user had a previously connected Buffer account inside ROP and tried to update the plugin. A notice will now be shown with a link to updating steps for those situations.
|
261 |
|
262 |
|
263 |
== Changelog ==
|
264 |
+
= 8.6.3 - 2020-12-08 =
|
265 |
+
|
266 |
+
* Info Pro: Add Revive Network base support. Apply to be a Beta tester [here](https://forms.gle/M4mcqrFZze4Pe4pu7)
|
267 |
+
|
268 |
+
|
269 |
= 8.6.2 - 2020-12-01 =
|
270 |
|
271 |
* Fix PRO: Error in the dashboard if the user had a previously connected Buffer account inside ROP and tried to update the plugin. A notice will now be shown with a link to updating steps for those situations.
|
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":"d692d8dec95b2cbc8df1297a85cd75a1","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: 8.6.
|
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', '8.6.
|
166 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
167 |
define( 'ROP_DEBUG', false );
|
168 |
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.6.3
|
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', '8.6.3' );
|
166 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
167 |
define( 'ROP_DEBUG', false );
|
168 |
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
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit63e15ca4910a8f6c8f8c6fcc0a5960a5::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 ComposerAutoloaderInit648538c5635d154b1759c7b825a9295a
|
|
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 ComposerAutoloaderInit648538c5635d154b1759c7b825a9295a
|
|
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 ComposerAutoloaderInit63e15ca4910a8f6c8f8c6fcc0a5960a5
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit63e15ca4910a8f6c8f8c6fcc0a5960a5', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit63e15ca4910a8f6c8f8c6fcc0a5960a5', '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 |
+
composerRequire63e15ca4910a8f6c8f8c6fcc0a5960a5($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire63e15ca4910a8f6c8f8c6fcc0a5960a5($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|