Version Description
Download this release
Release Info
| Developer | rsocial |
| Plugin | |
| Version | 9.0.10 |
| Comparing to | |
| See all releases | |
Code changes from version 9.0.9 to 9.0.10
- CHANGELOG.md +5 -0
- assets/css/rop_core.css +1 -1
- includes/admin/class-rop-admin.php +1 -5
- includes/admin/services/class-rop-facebook-service.php +1 -1
- includes/admin/services/class-rop-gmb-service.php +0 -1
- includes/admin/services/class-rop-linkedin-service.php +1 -1
- includes/class-rop.php +1 -1
- readme.txt +8 -0
- tweet-old-post.php +2 -2
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +6 -6
CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
##### [Version 9.0.9](https://github.com/Codeinwp/tweet-old-post/compare/v9.0.8...v9.0.9) (2022-07-25)
|
| 2 |
|
| 3 |
- [New Pro] Option to automatically crop Instagram Images if they do not meet the Instagram supported aspect ratios
|
| 1 |
+
##### [Version 9.0.10](https://github.com/Codeinwp/tweet-old-post/compare/v9.0.9...v9.0.10) (2022-08-26)
|
| 2 |
+
|
| 3 |
+
- [Dev] Remove old buffer service that doesn't exist anymore.
|
| 4 |
+
- [Dev] Less cumbersome error messages when services fail to build by using getMessage() instead of getTrace()
|
| 5 |
+
|
| 6 |
##### [Version 9.0.9](https://github.com/Codeinwp/tweet-old-post/compare/v9.0.8...v9.0.9) (2022-07-25)
|
| 7 |
|
| 8 |
- [New Pro] Option to automatically crop Instagram Images if they do not meet the Instagram supported aspect ratios
|
assets/css/rop_core.css
CHANGED
|
@@ -3328,7 +3328,7 @@ a.active {
|
|
| 3328 |
border-color: #454d5d;
|
| 3329 |
border-radius: 0.1rem;
|
| 3330 |
color: #fff;
|
| 3331 |
-
background:
|
| 3332 |
}
|
| 3333 |
|
| 3334 |
#rop_core .toast.toast-primary {
|
| 3328 |
border-color: #454d5d;
|
| 3329 |
border-radius: 0.1rem;
|
| 3330 |
color: #fff;
|
| 3331 |
+
background: #172a52;
|
| 3332 |
}
|
| 3333 |
|
| 3334 |
#rop_core .toast.toast-primary {
|
includes/admin/class-rop-admin.php
CHANGED
|
@@ -512,10 +512,6 @@ class Rop_Admin {
|
|
| 512 |
$pinterest_service = new Rop_Pinterest_Service();
|
| 513 |
$pinterest_service->authorize();
|
| 514 |
break;
|
| 515 |
-
case 'buffer':
|
| 516 |
-
$buffer_service = new Rop_Buffer_Service();
|
| 517 |
-
$buffer_service->authorize();
|
| 518 |
-
break;
|
| 519 |
default:
|
| 520 |
$fb_service = new Rop_Facebook_Service();
|
| 521 |
$fb_service->authorize();
|
|
@@ -1053,7 +1049,7 @@ class Rop_Admin {
|
|
| 1053 |
}
|
| 1054 |
} catch ( Exception $exception ) {
|
| 1055 |
$error_message = sprintf( Rop_I18n::get_labels( 'accounts.service_error' ), $account_data['service'] );
|
| 1056 |
-
$logger->alert_error( $error_message . ' Error: ' . print_r( $exception->
|
| 1057 |
}
|
| 1058 |
}
|
| 1059 |
}
|
| 512 |
$pinterest_service = new Rop_Pinterest_Service();
|
| 513 |
$pinterest_service->authorize();
|
| 514 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 515 |
default:
|
| 516 |
$fb_service = new Rop_Facebook_Service();
|
| 517 |
$fb_service->authorize();
|
| 1049 |
}
|
| 1050 |
} catch ( Exception $exception ) {
|
| 1051 |
$error_message = sprintf( Rop_I18n::get_labels( 'accounts.service_error' ), $account_data['service'] );
|
| 1052 |
+
$logger->alert_error( $error_message . ' Error: ' . print_r( $exception->getMessage(), true ) );
|
| 1053 |
}
|
| 1054 |
}
|
| 1055 |
}
|
includes/admin/services/class-rop-facebook-service.php
CHANGED
|
@@ -487,7 +487,7 @@ class Rop_Facebook_Service extends Rop_Services_Abstract {
|
|
| 487 |
if ( $args['account_type'] === 'instagram_account' && class_exists( 'Rop_Pro_Instagram_Service' ) ) {
|
| 488 |
|
| 489 |
$args['correct_aspect_ratio'] = $post_format['correct_aspect_ratio'];
|
| 490 |
-
|
| 491 |
$response = Rop_Pro_Instagram_Service::share( $post_details, $hashtags, $args );
|
| 492 |
|
| 493 |
return $response;
|
| 487 |
if ( $args['account_type'] === 'instagram_account' && class_exists( 'Rop_Pro_Instagram_Service' ) ) {
|
| 488 |
|
| 489 |
$args['correct_aspect_ratio'] = $post_format['correct_aspect_ratio'];
|
| 490 |
+
|
| 491 |
$response = Rop_Pro_Instagram_Service::share( $post_details, $hashtags, $args );
|
| 492 |
|
| 493 |
return $response;
|
includes/admin/services/class-rop-gmb-service.php
CHANGED
|
@@ -218,7 +218,6 @@ class Rop_Gmb_Service extends Rop_Services_Abstract {
|
|
| 218 |
$rop_data = get_option( 'rop_data' );
|
| 219 |
$rop_services_data = $rop_data['services'];
|
| 220 |
|
| 221 |
-
|
| 222 |
$id = '';
|
| 223 |
$access_token = '';
|
| 224 |
$created = '';
|
| 218 |
$rop_data = get_option( 'rop_data' );
|
| 219 |
$rop_services_data = $rop_data['services'];
|
| 220 |
|
|
|
|
| 221 |
$id = '';
|
| 222 |
$access_token = '';
|
| 223 |
$created = '';
|
includes/admin/services/class-rop-linkedin-service.php
CHANGED
|
@@ -250,7 +250,7 @@ class Rop_Linkedin_Service extends Rop_Services_Abstract {
|
|
| 250 |
|
| 251 |
$api = $this->get_api( $args['client_id'], $args['secret'] );
|
| 252 |
|
| 253 |
-
if( ! is_object( $api ) ){
|
| 254 |
return false;
|
| 255 |
}
|
| 256 |
|
| 250 |
|
| 251 |
$api = $this->get_api( $args['client_id'], $args['secret'] );
|
| 252 |
|
| 253 |
+
if ( ! is_object( $api ) ) {
|
| 254 |
return false;
|
| 255 |
}
|
| 256 |
|
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.10';
|
| 72 |
|
| 73 |
$this->load_dependencies();
|
| 74 |
$this->set_locale();
|
readme.txt
CHANGED
|
@@ -305,6 +305,14 @@ http://revive.social/plugins/revive-old-post
|
|
| 305 |
|
| 306 |
== Changelog ==
|
| 307 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 308 |
##### [Version 9.0.9](https://github.com/Codeinwp/tweet-old-post/compare/v9.0.8...v9.0.9) (2022-07-25)
|
| 309 |
|
| 310 |
- [New Pro] Option to automatically crop Instagram Images if they do not meet the Instagram supported aspect ratios
|
| 305 |
|
| 306 |
== Changelog ==
|
| 307 |
|
| 308 |
+
##### [Version 9.0.10](https://github.com/Codeinwp/tweet-old-post/compare/v9.0.9...v9.0.10) (2022-08-26)
|
| 309 |
+
|
| 310 |
+
- [Dev] Remove old buffer service that doesn't exist anymore.
|
| 311 |
+
- [Dev] Less cumbersome error messages when services fail to build by using getMessage() instead of getTrace()
|
| 312 |
+
|
| 313 |
+
|
| 314 |
+
|
| 315 |
+
|
| 316 |
##### [Version 9.0.9](https://github.com/Codeinwp/tweet-old-post/compare/v9.0.8...v9.0.9) (2022-07-25)
|
| 317 |
|
| 318 |
- [New Pro] Option to automatically crop Instagram Images if they do not meet the Instagram supported aspect ratios
|
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: 4.7
|
|
@@ -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.10
|
| 20 |
* Author: revive.social
|
| 21 |
* Author URI: https://revive.social/
|
| 22 |
* Requires at least: 4.7
|
| 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.10' );
|
| 166 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
| 167 |
$debug = false;
|
| 168 |
if ( function_exists( 'wp_get_environment_type' ) ) {
|
vendor/autoload.php
CHANGED
|
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
| 9 |
|
| 10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 11 |
|
| 12 |
-
return
|
| 9 |
|
| 10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 11 |
|
| 12 |
+
return ComposerAutoloaderInit0ac8317853f8024944b6b820f6c6222d::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 |
|
|
@@ -24,18 +24,18 @@ class ComposerAutoloaderInit9546bf93456214fb743c1414b1b7a4a9
|
|
| 24 |
|
| 25 |
require __DIR__ . '/platform_check.php';
|
| 26 |
|
| 27 |
-
spl_autoload_register(array('
|
| 28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
| 29 |
-
spl_autoload_unregister(array('
|
| 30 |
|
| 31 |
require __DIR__ . '/autoload_static.php';
|
| 32 |
-
call_user_func(\Composer\Autoload\
|
| 33 |
|
| 34 |
$loader->register(true);
|
| 35 |
|
| 36 |
-
$includeFiles = \Composer\Autoload\
|
| 37 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 38 |
-
|
| 39 |
}
|
| 40 |
|
| 41 |
return $loader;
|
|
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit9546bf93456214fb743c1414b1b7a4a9
|
|
| 47 |
* @param string $file
|
| 48 |
* @return void
|
| 49 |
*/
|
| 50 |
-
function
|
| 51 |
{
|
| 52 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 53 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit0ac8317853f8024944b6b820f6c6222d
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 24 |
|
| 25 |
require __DIR__ . '/platform_check.php';
|
| 26 |
|
| 27 |
+
spl_autoload_register(array('ComposerAutoloaderInit0ac8317853f8024944b6b820f6c6222d', 'loadClassLoader'), true, true);
|
| 28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
| 29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit0ac8317853f8024944b6b820f6c6222d', 'loadClassLoader'));
|
| 30 |
|
| 31 |
require __DIR__ . '/autoload_static.php';
|
| 32 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit0ac8317853f8024944b6b820f6c6222d::getInitializer($loader));
|
| 33 |
|
| 34 |
$loader->register(true);
|
| 35 |
|
| 36 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInit0ac8317853f8024944b6b820f6c6222d::$files;
|
| 37 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 38 |
+
composerRequire0ac8317853f8024944b6b820f6c6222d($fileIdentifier, $file);
|
| 39 |
}
|
| 40 |
|
| 41 |
return $loader;
|
| 47 |
* @param string $file
|
| 48 |
* @return void
|
| 49 |
*/
|
| 50 |
+
function composerRequire0ac8317853f8024944b6b820f6c6222d($fileIdentifier, $file)
|
| 51 |
{
|
| 52 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 53 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
'c65d09b6820da036953a371c8c73a9b1' => __DIR__ . '/..' . '/facebook/graph-sdk/src/Facebook/polyfills.php',
|
|
@@ -56,9 +56,9 @@ class ComposerStaticInit9546bf93456214fb743c1414b1b7a4a9
|
|
| 56 |
public static function getInitializer(ClassLoader $loader)
|
| 57 |
{
|
| 58 |
return \Closure::bind(function () use ($loader) {
|
| 59 |
-
$loader->prefixLengthsPsr4 =
|
| 60 |
-
$loader->prefixDirsPsr4 =
|
| 61 |
-
$loader->classMap =
|
| 62 |
|
| 63 |
}, null, ClassLoader::class);
|
| 64 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit0ac8317853f8024944b6b820f6c6222d
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
'c65d09b6820da036953a371c8c73a9b1' => __DIR__ . '/..' . '/facebook/graph-sdk/src/Facebook/polyfills.php',
|
| 56 |
public static function getInitializer(ClassLoader $loader)
|
| 57 |
{
|
| 58 |
return \Closure::bind(function () use ($loader) {
|
| 59 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit0ac8317853f8024944b6b820f6c6222d::$prefixLengthsPsr4;
|
| 60 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit0ac8317853f8024944b6b820f6c6222d::$prefixDirsPsr4;
|
| 61 |
+
$loader->classMap = ComposerStaticInit0ac8317853f8024944b6b820f6c6222d::$classMap;
|
| 62 |
|
| 63 |
}, null, ClassLoader::class);
|
| 64 |
}
|
vendor/composer/installed.php
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
<?php return array(
|
| 2 |
'root' => array(
|
| 3 |
'name' => 'codeinwp/tweet-old-post',
|
| 4 |
-
'pretty_version' => 'v9.0.
|
| 5 |
-
'version' => '9.0.
|
| 6 |
-
'reference' => '
|
| 7 |
'type' => 'wordpress-plugin',
|
| 8 |
'install_path' => __DIR__ . '/../../',
|
| 9 |
'aliases' => array(),
|
|
@@ -29,9 +29,9 @@
|
|
| 29 |
'dev_requirement' => false,
|
| 30 |
),
|
| 31 |
'codeinwp/tweet-old-post' => array(
|
| 32 |
-
'pretty_version' => 'v9.0.
|
| 33 |
-
'version' => '9.0.
|
| 34 |
-
'reference' => '
|
| 35 |
'type' => 'wordpress-plugin',
|
| 36 |
'install_path' => __DIR__ . '/../../',
|
| 37 |
'aliases' => array(),
|
| 1 |
<?php return array(
|
| 2 |
'root' => array(
|
| 3 |
'name' => 'codeinwp/tweet-old-post',
|
| 4 |
+
'pretty_version' => 'v9.0.10',
|
| 5 |
+
'version' => '9.0.10.0',
|
| 6 |
+
'reference' => '57253ee8d9cd141dafd806fad8aa2174373a4ae4',
|
| 7 |
'type' => 'wordpress-plugin',
|
| 8 |
'install_path' => __DIR__ . '/../../',
|
| 9 |
'aliases' => array(),
|
| 29 |
'dev_requirement' => false,
|
| 30 |
),
|
| 31 |
'codeinwp/tweet-old-post' => array(
|
| 32 |
+
'pretty_version' => 'v9.0.10',
|
| 33 |
+
'version' => '9.0.10.0',
|
| 34 |
+
'reference' => '57253ee8d9cd141dafd806fad8aa2174373a4ae4',
|
| 35 |
'type' => 'wordpress-plugin',
|
| 36 |
'install_path' => __DIR__ . '/../../',
|
| 37 |
'aliases' => array(),
|
