Version Description
- 2020-04-11
Download this release
Release Info
Developer | codeinwp |
Plugin | Revive Old Posts – Auto Post to Social Media |
Version | 8.5.5 |
Comparing to | |
See all releases |
Code changes from version 8.5.4 to 8.5.5
- CHANGELOG.md +7 -0
- includes/admin/class-rop-admin.php +8 -2
- includes/admin/services/class-rop-linkedin-service.php +6 -1
- includes/admin/shortners/class-rop-bitly-shortner.php +18 -22
- includes/class-rop-i18n.php +1 -0
- includes/class-rop.php +1 -1
- readme.md +24 -6
- readme.txt +27 -9
- themeisle-hash.json +1 -1
- tweet-old-post.php +2 -2
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +6 -6
- vendor/psr/log/Psr/Log/LoggerInterface.php +19 -19
- vendor/psr/log/Psr/Log/Test/DummyTest.php +18 -0
- vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +0 -8
CHANGELOG.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
### v8.5.4 - 2020-03-18
|
3 |
**Changes:**
|
4 |
* New PRO: Taxonomy filtering is now account-based
|
1 |
|
2 |
+
### v8.5.5 - 2020-04-11
|
3 |
+
**Changes:**
|
4 |
+
* Fix PRO: PHP Error when "Post with image" is checked in Post format for LinkedIn and post has no featured image set.
|
5 |
+
* Fix PRO: PHP Error when no post format option is available in the database and ROP tries to share a WP scheduled post that has become published.
|
6 |
+
* Change: Bit.ly now uses bit.ly's v4 API endpoint.
|
7 |
+
* Info: Tested on WP 5.4.
|
8 |
+
|
9 |
### v8.5.4 - 2020-03-18
|
10 |
**Changes:**
|
11 |
* New PRO: Taxonomy filtering is now account-based
|
includes/admin/class-rop-admin.php
CHANGED
@@ -775,11 +775,17 @@ class Rop_Admin {
|
|
775 |
// this would only be possible in Pro plugin
|
776 |
if ( $global_settings->license_type() > 0 && $rop_active_status ) {
|
777 |
|
|
|
778 |
// Get the current plugin options.
|
779 |
-
$
|
780 |
|
781 |
$social_accounts = array();
|
782 |
-
$post_formats = $
|
|
|
|
|
|
|
|
|
|
|
783 |
|
784 |
foreach ( $post_formats as $key => $value ) {
|
785 |
|
775 |
// this would only be possible in Pro plugin
|
776 |
if ( $global_settings->license_type() > 0 && $rop_active_status ) {
|
777 |
|
778 |
+
$logger = new Rop_Logger();
|
779 |
// Get the current plugin options.
|
780 |
+
$options = get_option( 'rop_data' );
|
781 |
|
782 |
$social_accounts = array();
|
783 |
+
$post_formats = array_key_exists( 'post_format', $options ) ? $options['post_format'] : '';
|
784 |
+
|
785 |
+
if ( empty( $post_formats ) ) {
|
786 |
+
$logger->alert_error( Rop_I18n::get_labels( 'post_format.no_post_format_error' ) );
|
787 |
+
return;
|
788 |
+
}
|
789 |
|
790 |
foreach ( $post_formats as $key => $value ) {
|
791 |
|
includes/admin/services/class-rop-linkedin-service.php
CHANGED
@@ -537,6 +537,11 @@ class Rop_Linkedin_Service extends Rop_Services_Abstract {
|
|
537 |
}
|
538 |
}
|
539 |
|
|
|
|
|
|
|
|
|
|
|
540 |
try {
|
541 |
$api->post( 'ugcPosts', $new_post );
|
542 |
|
@@ -662,7 +667,7 @@ class Rop_Linkedin_Service extends Rop_Services_Abstract {
|
|
662 |
|
663 |
if ( empty( $img ) ) {
|
664 |
$this->logger->alert_error( 'No image set for post: ' . get_the_title( $post_details['post_id'] ) . ', cannot share as an image post to LinkedIn.' );
|
665 |
-
return
|
666 |
}
|
667 |
|
668 |
$img_mime_type = image_type_to_mime_type( exif_imagetype( $img ) );
|
537 |
}
|
538 |
}
|
539 |
|
540 |
+
if ( empty( $new_post ) ) {
|
541 |
+
$this->logger->info( '$new_post variable empty, bailing process.' );
|
542 |
+
return;
|
543 |
+
}
|
544 |
+
|
545 |
try {
|
546 |
$api->post( 'ugcPosts', $new_post );
|
547 |
|
667 |
|
668 |
if ( empty( $img ) ) {
|
669 |
$this->logger->alert_error( 'No image set for post: ' . get_the_title( $post_details['post_id'] ) . ', cannot share as an image post to LinkedIn.' );
|
670 |
+
return array();
|
671 |
}
|
672 |
|
673 |
$img_mime_type = image_type_to_mime_type( exif_imagetype( $img ) );
|
includes/admin/shortners/class-rop-bitly-shortner.php
CHANGED
@@ -63,33 +63,29 @@ class Rop_Bitly_Shortner extends Rop_Url_Shortner_Abstract {
|
|
63 |
*/
|
64 |
public function shorten_url( $url ) {
|
65 |
$saved = $this->get_credentials();
|
66 |
-
|
67 |
-
if ( array_key_exists( 'generic_access_token', $saved ) ) {
|
68 |
-
$
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
$credentials = array(
|
73 |
-
'login' => $saved['user'],
|
74 |
-
'apiKey' => $saved['key'],
|
75 |
-
);
|
76 |
}
|
77 |
|
78 |
$response = $this->callAPI(
|
79 |
-
'https://api-ssl.bit.ly/
|
80 |
-
array( 'method' => '
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
$credentials
|
87 |
-
),
|
88 |
-
null
|
89 |
);
|
|
|
90 |
$shortURL = $url;
|
91 |
-
|
92 |
-
|
|
|
|
|
93 |
}
|
94 |
|
95 |
return trim( $shortURL );
|
63 |
*/
|
64 |
public function shorten_url( $url ) {
|
65 |
$saved = $this->get_credentials();
|
66 |
+
|
67 |
+
if ( ! array_key_exists( 'generic_access_token', $saved ) ) {
|
68 |
+
$logger = new Rop_Logger();
|
69 |
+
$logger->alert_error( 'Generic Access Token not found. Please see the following link for instructions: https://is.gd/rop_bitly' );
|
70 |
+
|
71 |
+
return $url;
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
|
74 |
$response = $this->callAPI(
|
75 |
+
'https://api-ssl.bit.ly/v4/shorten',
|
76 |
+
array( 'method' => 'json' ),
|
77 |
+
array( 'long_url' => $url ),
|
78 |
+
array(
|
79 |
+
'Authorization' => 'Bearer ' . $saved['generic_access_token'],
|
80 |
+
'Content-Type' => 'application/json',
|
81 |
+
)
|
|
|
|
|
|
|
82 |
);
|
83 |
+
|
84 |
$shortURL = $url;
|
85 |
+
|
86 |
+
if ( intval( $response['error'] ) === 200 || intval( $response['error'] ) === 201 ) {
|
87 |
+
$response = json_decode( $response['response'] );
|
88 |
+
$shortURL = $response->link;
|
89 |
}
|
90 |
|
91 |
return trim( $shortURL );
|
includes/class-rop-i18n.php
CHANGED
@@ -260,6 +260,7 @@ class Rop_I18n {
|
|
260 |
'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
|
261 |
'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
|
262 |
'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
|
|
|
263 |
),
|
264 |
'schedule' => array(
|
265 |
'menu_item' => __( 'Custom Schedule', 'tweet-old-post' ),
|
260 |
'media_post_option_alt_text' => __( 'Alt Text', 'tweet-old-post' ),
|
261 |
'media_post_option_description' => __( 'Description', 'tweet-old-post' ),
|
262 |
'media_post_upsell' => __( 'Media posting is available in the Business version.', 'tweet-old-post' ),
|
263 |
+
'no_post_format_error' => __( 'Post Format option empty, "Share scheduled posts to social media on publish" cannot work. Please go to the Post Format tab and click "Save" for this feature to work', 'tweet-old-post' ),
|
264 |
),
|
265 |
'schedule' => array(
|
266 |
'menu_item' => __( 'Custom Schedule', '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 = '8.5.
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
68 |
public function __construct() {
|
69 |
|
70 |
$this->plugin_name = 'rop';
|
71 |
+
$this->version = '8.5.5';
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
readme.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
**Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [marius2012](https://profiles.wordpress.org/marius2012), [marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [Madalin_Themeisle](https://profiles.wordpress.org/Madalin_Themeisle), [rsocial](https://profiles.wordpress.org/rsocial), [uriahs-victor](https://profiles.wordpress.org/uriahs-victor)
|
3 |
**Tags:** share to social media, auto publish, auto post, social media scheduling, social media auto posting, social media marketing, social media automation, social media sharing
|
4 |
**Requires at least:** 4.7
|
5 |
-
**Tested up to:** 5.
|
6 |
**Requires PHP:** 5.6
|
7 |
**Stable tag:** trunk
|
8 |
|
@@ -47,6 +47,12 @@ Just finished writing an awesome blog post? Why wait until it gets shared? Autom
|
|
47 |
|
48 |
Auto posting is a handy feature for users who want to share to social media as soon as they're done creating their content.
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
### A WordPress **Social Media Analytics** Plugin
|
51 |
|
52 |
Tired of manually adding UTM tags to posts to track the source of your traffic?
|
@@ -105,9 +111,9 @@ Some of the available networks and features require the Pro version of the plugi
|
|
105 |
|
106 |
- Compatible with **URL Shorteners**. Shorten the links for the content that you post to social media. [Free]
|
107 |
|
108 |
-
- **Exclude categories** from sharing to social media. [Free]
|
109 |
|
110 |
-
- **Exclude specific posts** from sharing to social media.
|
111 |
|
112 |
- Integrate with **Google Analytics** to track your social media traffic increase. [Free]
|
113 |
|
@@ -120,10 +126,14 @@ Using the PRO version of Revive Old Posts unlocks a host of additional features
|
|
120 |
|
121 |
**Awesome features in Pro:**
|
122 |
|
123 |
-
- [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, Recipes etc.)
|
124 |
|
125 |
- [Content Variations](https://docs.revive.social/article/971-how-to-add-variations-to-revive-old-posts-shares); Add multiple share variations to your posts, including custom images, ROP will automatically choose a variation to share!
|
126 |
|
|
|
|
|
|
|
|
|
127 |
- **WordPress to Instagram** scheduling and auto post
|
128 |
|
129 |
- **WordPress to Facebook Groups** scheduling and auto post
|
@@ -254,6 +264,14 @@ http://revive.social/plugins/revive-old-post
|
|
254 |
|
255 |
|
256 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
### 8.5.4 - 2020-03-18 ###
|
258 |
|
259 |
* New PRO: Taxonomy filtering is now account-based
|
@@ -264,8 +282,8 @@ http://revive.social/plugins/revive-old-post
|
|
264 |
|
265 |
### 8.5.3 - 2020-02-13 ###
|
266 |
|
267 |
-
* Fix PRO: Fixed an issue where custom images could not be uploaded from the share queue.
|
268 |
-
* Fix PRO: Fixed an issue where it would not be possible to activate some LinkedIn accounts due to their LinkedIn ID format.
|
269 |
* Fix: Strip Divi shortcodes that are created by the Divi theme before the content is shared.
|
270 |
* Fix: Share immediately details were being saved in the DB for posts that were still drafts.
|
271 |
* Change: Optimized text for some log error messages and introduced known error fixes for a few others.
|
2 |
**Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [marius2012](https://profiles.wordpress.org/marius2012), [marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [Madalin_Themeisle](https://profiles.wordpress.org/Madalin_Themeisle), [rsocial](https://profiles.wordpress.org/rsocial), [uriahs-victor](https://profiles.wordpress.org/uriahs-victor)
|
3 |
**Tags:** share to social media, auto publish, auto post, social media scheduling, social media auto posting, social media marketing, social media automation, social media sharing
|
4 |
**Requires at least:** 4.7
|
5 |
+
**Tested up to:** 5.4
|
6 |
**Requires PHP:** 5.6
|
7 |
**Stable tag:** trunk
|
8 |
|
47 |
|
48 |
Auto posting is a handy feature for users who want to share to social media as soon as they're done creating their content.
|
49 |
|
50 |
+
### A WP **Scheduled Post** Plugin
|
51 |
+
|
52 |
+
Are you creating posts that get published at a later time in the future? With ROP, you can have those posts automatically published to your active social media accounts as soon as WordPress publishes those posts for you!
|
53 |
+
|
54 |
+
This feature takes into account filters you have set in the plugin settings, so it won't share Cat posts if you have added the Cat posts category to your excluded categories!
|
55 |
+
|
56 |
### A WordPress **Social Media Analytics** Plugin
|
57 |
|
58 |
Tired of manually adding UTM tags to posts to track the source of your traffic?
|
111 |
|
112 |
- Compatible with **URL Shorteners**. Shorten the links for the content that you post to social media. [Free]
|
113 |
|
114 |
+
- **Exclude categories and tags (and other custom taxonomies)** from sharing to social media. [Free]
|
115 |
|
116 |
+
- **Exclude specific posts** from sharing to social media. [Free]
|
117 |
|
118 |
- Integrate with **Google Analytics** to track your social media traffic increase. [Free]
|
119 |
|
126 |
|
127 |
**Awesome features in Pro:**
|
128 |
|
129 |
+
- [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.)
|
130 |
|
131 |
- [Content Variations](https://docs.revive.social/article/971-how-to-add-variations-to-revive-old-posts-shares); Add multiple share variations to your posts, including custom images, ROP will automatically choose a variation to share!
|
132 |
|
133 |
+
- Exclude categories and tags (and other custom taxonomies) from sharing to social media on a **per account basis**. [Learn More](https://docs.revive.social/article/591-how-to-only-share-posts-from-specific-categories-with-revive-old-post)
|
134 |
+
|
135 |
+
- 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)
|
136 |
+
|
137 |
- **WordPress to Instagram** scheduling and auto post
|
138 |
|
139 |
- **WordPress to Facebook Groups** scheduling and auto post
|
264 |
|
265 |
|
266 |
## Changelog ##
|
267 |
+
### 8.5.5 - 2020-04-11 ###
|
268 |
+
|
269 |
+
* Fix PRO: PHP Error when "Post with image" is checked in Post format for LinkedIn and post has no featured image set.
|
270 |
+
* Fix PRO: PHP Error when no post format option is available in the database and ROP tries to share a WP scheduled post that has become published.
|
271 |
+
* Change: Bit.ly now uses bit.ly's v4 API endpoint.
|
272 |
+
* Info: Tested on WP 5.4.
|
273 |
+
|
274 |
+
|
275 |
### 8.5.4 - 2020-03-18 ###
|
276 |
|
277 |
* New PRO: Taxonomy filtering is now account-based
|
282 |
|
283 |
### 8.5.3 - 2020-02-13 ###
|
284 |
|
285 |
+
* Fix PRO: Fixed an issue where custom images could not be uploaded from the share queue.
|
286 |
+
* Fix PRO: Fixed an issue where it would not be possible to activate some LinkedIn accounts due to their LinkedIn ID format.
|
287 |
* Fix: Strip Divi shortcodes that are created by the Divi theme before the content is shared.
|
288 |
* Fix: Share immediately details were being saved in the DB for posts that were still drafts.
|
289 |
* Change: Optimized text for some log error messages and introduced known error fixes for a few others.
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,Madalin_Themeisle, rsocial, uriahs-victor
|
3 |
Tags: share to social media, auto publish, auto post, social media scheduling, social media auto posting, social media marketing, social media automation, social media sharing
|
4 |
Requires at least: 4.7
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.6
|
7 |
Stable tag: trunk
|
8 |
|
@@ -47,6 +47,12 @@ Just finished writing an awesome blog post? Why wait until it gets shared? Autom
|
|
47 |
|
48 |
Auto posting is a handy feature for users who want to share to social media as soon as they're done creating their content.
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
### A WordPress **Social Media Analytics** Plugin
|
51 |
|
52 |
Tired of manually adding UTM tags to posts to track the source of your traffic?
|
@@ -105,9 +111,9 @@ Some of the available networks and features require the Pro version of the plugi
|
|
105 |
|
106 |
- Compatible with **URL Shorteners**. Shorten the links for the content that you post to social media. [Free]
|
107 |
|
108 |
-
- **Exclude categories** from sharing to social media. [Free]
|
109 |
|
110 |
-
- **Exclude specific posts** from sharing to social media.
|
111 |
|
112 |
- Integrate with **Google Analytics** to track your social media traffic increase. [Free]
|
113 |
|
@@ -120,10 +126,14 @@ Using the PRO version of Revive Old Posts unlocks a host of additional features
|
|
120 |
|
121 |
**Awesome features in Pro:**
|
122 |
|
123 |
-
- [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, Recipes etc.)
|
124 |
|
125 |
- [Content Variations](https://docs.revive.social/article/971-how-to-add-variations-to-revive-old-posts-shares); Add multiple share variations to your posts, including custom images, ROP will automatically choose a variation to share!
|
126 |
|
|
|
|
|
|
|
|
|
127 |
- **WordPress to Instagram** scheduling and auto post
|
128 |
|
129 |
- **WordPress to Facebook Groups** scheduling and auto post
|
@@ -254,7 +264,15 @@ http://revive.social/plugins/revive-old-post
|
|
254 |
|
255 |
|
256 |
== Changelog ==
|
257 |
-
= 8.5.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
|
259 |
* New PRO: Taxonomy filtering is now account-based
|
260 |
* Fix: Fixed an issue where the connected accounts would not drop down after clicking the "Share immediately using Revive Old Posts" button
|
@@ -262,16 +280,16 @@ http://revive.social/plugins/revive-old-post
|
|
262 |
* Info: Tested on WP 5.4 RC
|
263 |
|
264 |
|
265 |
-
= 8.5.3 - 2020-02-13 =
|
266 |
|
267 |
-
* Fix PRO: Fixed an issue where custom images could not be uploaded from the share queue.
|
268 |
-
* Fix PRO: Fixed an issue where it would not be possible to activate some LinkedIn accounts due to their LinkedIn ID format.
|
269 |
* Fix: Strip Divi shortcodes that are created by the Divi theme before the content is shared.
|
270 |
* Fix: Share immediately details were being saved in the DB for posts that were still drafts.
|
271 |
* Change: Optimized text for some log error messages and introduced known error fixes for a few others.
|
272 |
|
273 |
|
274 |
-
= 8.5.2 - 2019-12-31 =
|
275 |
|
276 |
* New PRO: Share posts that have been scheduled for future publication by WordPress when their status change from "Scheduled" to "Publish" [Learn more](https://docs.revive.social/article/1194-share-scheduled-posts-to-social-media-on-publish-with-revive-old-posts)
|
277 |
* Fix PRO: Better compatibility for grabbing images for Tumblr shares on WPEngine hosted websites.
|
2 |
Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,Madalin_Themeisle, rsocial, uriahs-victor
|
3 |
Tags: share to social media, auto publish, auto post, social media scheduling, social media auto posting, social media marketing, social media automation, social media sharing
|
4 |
Requires at least: 4.7
|
5 |
+
Tested up to: 5.4
|
6 |
Requires PHP: 5.6
|
7 |
Stable tag: trunk
|
8 |
|
47 |
|
48 |
Auto posting is a handy feature for users who want to share to social media as soon as they're done creating their content.
|
49 |
|
50 |
+
### A WP **Scheduled Post** Plugin
|
51 |
+
|
52 |
+
Are you creating posts that get published at a later time in the future? With ROP, you can have those posts automatically published to your active social media accounts as soon as WordPress publishes those posts for you!
|
53 |
+
|
54 |
+
This feature takes into account filters you have set in the plugin settings, so it won't share Cat posts if you have added the Cat posts category to your excluded categories!
|
55 |
+
|
56 |
### A WordPress **Social Media Analytics** Plugin
|
57 |
|
58 |
Tired of manually adding UTM tags to posts to track the source of your traffic?
|
111 |
|
112 |
- Compatible with **URL Shorteners**. Shorten the links for the content that you post to social media. [Free]
|
113 |
|
114 |
+
- **Exclude categories and tags (and other custom taxonomies)** from sharing to social media. [Free]
|
115 |
|
116 |
+
- **Exclude specific posts** from sharing to social media. [Free]
|
117 |
|
118 |
- Integrate with **Google Analytics** to track your social media traffic increase. [Free]
|
119 |
|
126 |
|
127 |
**Awesome features in Pro:**
|
128 |
|
129 |
+
- [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.)
|
130 |
|
131 |
- [Content Variations](https://docs.revive.social/article/971-how-to-add-variations-to-revive-old-posts-shares); Add multiple share variations to your posts, including custom images, ROP will automatically choose a variation to share!
|
132 |
|
133 |
+
- Exclude categories and tags (and other custom taxonomies) from sharing to social media on a **per account basis**. [Learn More](https://docs.revive.social/article/591-how-to-only-share-posts-from-specific-categories-with-revive-old-post)
|
134 |
+
|
135 |
+
- 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)
|
136 |
+
|
137 |
- **WordPress to Instagram** scheduling and auto post
|
138 |
|
139 |
- **WordPress to Facebook Groups** scheduling and auto post
|
264 |
|
265 |
|
266 |
== Changelog ==
|
267 |
+
= 8.5.5 - 2020-04-11 =
|
268 |
+
|
269 |
+
* Fix PRO: PHP Error when "Post with image" is checked in Post format for LinkedIn and post has no featured image set.
|
270 |
+
* Fix PRO: PHP Error when no post format option is available in the database and ROP tries to share a WP scheduled post that has become published.
|
271 |
+
* Change: Bit.ly now uses bit.ly's v4 API endpoint.
|
272 |
+
* Info: Tested on WP 5.4.
|
273 |
+
|
274 |
+
|
275 |
+
= 8.5.4 - 2020-03-18 =
|
276 |
|
277 |
* New PRO: Taxonomy filtering is now account-based
|
278 |
* Fix: Fixed an issue where the connected accounts would not drop down after clicking the "Share immediately using Revive Old Posts" button
|
280 |
* Info: Tested on WP 5.4 RC
|
281 |
|
282 |
|
283 |
+
= 8.5.3 - 2020-02-13 =
|
284 |
|
285 |
+
* Fix PRO: Fixed an issue where custom images could not be uploaded from the share queue.
|
286 |
+
* Fix PRO: Fixed an issue where it would not be possible to activate some LinkedIn accounts due to their LinkedIn ID format.
|
287 |
* Fix: Strip Divi shortcodes that are created by the Divi theme before the content is shared.
|
288 |
* Fix: Share immediately details were being saved in the DB for posts that were still drafts.
|
289 |
* Change: Optimized text for some log error messages and introduced known error fixes for a few others.
|
290 |
|
291 |
|
292 |
+
= 8.5.2 - 2019-12-31 =
|
293 |
|
294 |
* New PRO: Share posts that have been scheduled for future publication by WordPress when their status change from "Scheduled" to "Publish" [Learn more](https://docs.revive.social/article/1194-share-scheduled-posts-to-social-media-on-publish-with-revive-old-posts)
|
295 |
* Fix PRO: Better compatibility for grabbing images for Tumblr shares on WPEngine hosted websites.
|
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":"f3e8a3a110571b4edfe88d0ff3bddbbd","uninstall.php":"72a0997a84eb28914ec8adf88133ec2c"}
|
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.5.
|
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.5.
|
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.5.5
|
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.5.5' );
|
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
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitcee3bad1976db497bf8b6b009667d428::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 ComposerAutoloaderInitdb2594ddf3e934d46a85c1e044d26bf6
|
|
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 ComposerAutoloaderInitdb2594ddf3e934d46a85c1e044d26bf6
|
|
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 ComposerAutoloaderInitcee3bad1976db497bf8b6b009667d428
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitcee3bad1976db497bf8b6b009667d428', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitcee3bad1976db497bf8b6b009667d428', '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 |
+
composerRequirecee3bad1976db497bf8b6b009667d428($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequirecee3bad1976db497bf8b6b009667d428($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -117,23 +117,23 @@
|
|
117 |
},
|
118 |
{
|
119 |
"name": "psr/log",
|
120 |
-
"version": "1.1.
|
121 |
-
"version_normalized": "1.1.
|
122 |
"source": {
|
123 |
"type": "git",
|
124 |
"url": "https://github.com/php-fig/log.git",
|
125 |
-
"reference": "
|
126 |
},
|
127 |
"dist": {
|
128 |
"type": "zip",
|
129 |
-
"url": "https://api.github.com/repos/php-fig/log/zipball/
|
130 |
-
"reference": "
|
131 |
"shasum": ""
|
132 |
},
|
133 |
"require": {
|
134 |
"php": ">=5.3.0"
|
135 |
},
|
136 |
-
"time": "
|
137 |
"type": "library",
|
138 |
"extra": {
|
139 |
"branch-alias": {
|
117 |
},
|
118 |
{
|
119 |
"name": "psr/log",
|
120 |
+
"version": "1.1.3",
|
121 |
+
"version_normalized": "1.1.3.0",
|
122 |
"source": {
|
123 |
"type": "git",
|
124 |
"url": "https://github.com/php-fig/log.git",
|
125 |
+
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
|
126 |
},
|
127 |
"dist": {
|
128 |
"type": "zip",
|
129 |
+
"url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
|
130 |
+
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
|
131 |
"shasum": ""
|
132 |
},
|
133 |
"require": {
|
134 |
"php": ">=5.3.0"
|
135 |
},
|
136 |
+
"time": "2020-03-23 09:12:05",
|
137 |
"type": "library",
|
138 |
"extra": {
|
139 |
"branch-alias": {
|
vendor/psr/log/Psr/Log/LoggerInterface.php
CHANGED
@@ -22,8 +22,8 @@ interface LoggerInterface
|
|
22 |
/**
|
23 |
* System is unusable.
|
24 |
*
|
25 |
-
* @param string
|
26 |
-
* @param
|
27 |
*
|
28 |
* @return void
|
29 |
*/
|
@@ -35,8 +35,8 @@ interface LoggerInterface
|
|
35 |
* Example: Entire website down, database unavailable, etc. This should
|
36 |
* trigger the SMS alerts and wake you up.
|
37 |
*
|
38 |
-
* @param string
|
39 |
-
* @param
|
40 |
*
|
41 |
* @return void
|
42 |
*/
|
@@ -47,8 +47,8 @@ interface LoggerInterface
|
|
47 |
*
|
48 |
* Example: Application component unavailable, unexpected exception.
|
49 |
*
|
50 |
-
* @param string
|
51 |
-
* @param
|
52 |
*
|
53 |
* @return void
|
54 |
*/
|
@@ -58,8 +58,8 @@ interface LoggerInterface
|
|
58 |
* Runtime errors that do not require immediate action but should typically
|
59 |
* be logged and monitored.
|
60 |
*
|
61 |
-
* @param string
|
62 |
-
* @param
|
63 |
*
|
64 |
* @return void
|
65 |
*/
|
@@ -71,8 +71,8 @@ interface LoggerInterface
|
|
71 |
* Example: Use of deprecated APIs, poor use of an API, undesirable things
|
72 |
* that are not necessarily wrong.
|
73 |
*
|
74 |
-
* @param string
|
75 |
-
* @param
|
76 |
*
|
77 |
* @return void
|
78 |
*/
|
@@ -81,8 +81,8 @@ interface LoggerInterface
|
|
81 |
/**
|
82 |
* Normal but significant events.
|
83 |
*
|
84 |
-
* @param string
|
85 |
-
* @param
|
86 |
*
|
87 |
* @return void
|
88 |
*/
|
@@ -93,8 +93,8 @@ interface LoggerInterface
|
|
93 |
*
|
94 |
* Example: User logs in, SQL logs.
|
95 |
*
|
96 |
-
* @param string
|
97 |
-
* @param
|
98 |
*
|
99 |
* @return void
|
100 |
*/
|
@@ -103,8 +103,8 @@ interface LoggerInterface
|
|
103 |
/**
|
104 |
* Detailed debug information.
|
105 |
*
|
106 |
-
* @param string
|
107 |
-
* @param
|
108 |
*
|
109 |
* @return void
|
110 |
*/
|
@@ -113,9 +113,9 @@ interface LoggerInterface
|
|
113 |
/**
|
114 |
* Logs with an arbitrary level.
|
115 |
*
|
116 |
-
* @param mixed
|
117 |
-
* @param string
|
118 |
-
* @param
|
119 |
*
|
120 |
* @return void
|
121 |
*
|
22 |
/**
|
23 |
* System is unusable.
|
24 |
*
|
25 |
+
* @param string $message
|
26 |
+
* @param mixed[] $context
|
27 |
*
|
28 |
* @return void
|
29 |
*/
|
35 |
* Example: Entire website down, database unavailable, etc. This should
|
36 |
* trigger the SMS alerts and wake you up.
|
37 |
*
|
38 |
+
* @param string $message
|
39 |
+
* @param mixed[] $context
|
40 |
*
|
41 |
* @return void
|
42 |
*/
|
47 |
*
|
48 |
* Example: Application component unavailable, unexpected exception.
|
49 |
*
|
50 |
+
* @param string $message
|
51 |
+
* @param mixed[] $context
|
52 |
*
|
53 |
* @return void
|
54 |
*/
|
58 |
* Runtime errors that do not require immediate action but should typically
|
59 |
* be logged and monitored.
|
60 |
*
|
61 |
+
* @param string $message
|
62 |
+
* @param mixed[] $context
|
63 |
*
|
64 |
* @return void
|
65 |
*/
|
71 |
* Example: Use of deprecated APIs, poor use of an API, undesirable things
|
72 |
* that are not necessarily wrong.
|
73 |
*
|
74 |
+
* @param string $message
|
75 |
+
* @param mixed[] $context
|
76 |
*
|
77 |
* @return void
|
78 |
*/
|
81 |
/**
|
82 |
* Normal but significant events.
|
83 |
*
|
84 |
+
* @param string $message
|
85 |
+
* @param mixed[] $context
|
86 |
*
|
87 |
* @return void
|
88 |
*/
|
93 |
*
|
94 |
* Example: User logs in, SQL logs.
|
95 |
*
|
96 |
+
* @param string $message
|
97 |
+
* @param mixed[] $context
|
98 |
*
|
99 |
* @return void
|
100 |
*/
|
103 |
/**
|
104 |
* Detailed debug information.
|
105 |
*
|
106 |
+
* @param string $message
|
107 |
+
* @param mixed[] $context
|
108 |
*
|
109 |
* @return void
|
110 |
*/
|
113 |
/**
|
114 |
* Logs with an arbitrary level.
|
115 |
*
|
116 |
+
* @param mixed $level
|
117 |
+
* @param string $message
|
118 |
+
* @param mixed[] $context
|
119 |
*
|
120 |
* @return void
|
121 |
*
|
vendor/psr/log/Psr/Log/Test/DummyTest.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace Psr\Log\Test;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* This class is internal and does not follow the BC promise.
|
7 |
+
*
|
8 |
+
* Do NOT use this class in any way.
|
9 |
+
*
|
10 |
+
* @internal
|
11 |
+
*/
|
12 |
+
class DummyTest
|
13 |
+
{
|
14 |
+
public function __toString()
|
15 |
+
{
|
16 |
+
return 'DummyTest';
|
17 |
+
}
|
18 |
+
}
|
vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
CHANGED
@@ -136,11 +136,3 @@ abstract class LoggerInterfaceTest extends TestCase
|
|
136 |
$this->assertEquals($expected, $this->getLogs());
|
137 |
}
|
138 |
}
|
139 |
-
|
140 |
-
class DummyTest
|
141 |
-
{
|
142 |
-
public function __toString()
|
143 |
-
{
|
144 |
-
return 'DummyTest';
|
145 |
-
}
|
146 |
-
}
|
136 |
$this->assertEquals($expected, $this->getLogs());
|
137 |
}
|
138 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|