Version Description
- 2018-10-08
Download this release
Release Info
Developer | codeinwp |
Plugin | Revive Old Posts – Auto Post to Social Media |
Version | 8.1.2 |
Comparing to | |
See all releases |
Code changes from version 8.1.1 to 8.1.2
- CHANGELOG.md +1 -1
- includes/admin/shortners/class-rop-googl-shortner.php +0 -56
- includes/class-rop.php +1 -1
- readme.md +7 -0
- readme.txt +7 -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,5 +1,5 @@
|
|
1 |
|
2 |
-
### v8.1.
|
3 |
**Changes:**
|
4 |
* Fixed issue with hashtags in content
|
5 |
* Adds notice for PHP versions lower than 5.6
|
1 |
|
2 |
+
### v8.1.2 - 2018-10-08
|
3 |
**Changes:**
|
4 |
* Fixed issue with hashtags in content
|
5 |
* Adds notice for PHP versions lower than 5.6
|
includes/admin/shortners/class-rop-googl-shortner.php
DELETED
@@ -1,56 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* The file that defines this shortner specific functionality.
|
4 |
-
*
|
5 |
-
* @link https://themeisle.com/
|
6 |
-
* @since 8.0.0
|
7 |
-
*
|
8 |
-
* @package Rop
|
9 |
-
* @subpackage Rop/includes/admin/shortners
|
10 |
-
*/
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Class Rop_Googl_Shortner
|
14 |
-
*
|
15 |
-
* @since 8.0.0
|
16 |
-
* @link https://themeisle.com/
|
17 |
-
*/
|
18 |
-
class Rop_Googl_Shortner extends Rop_Url_Shortner_Abstract {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Method to inject functionality into constructor.
|
22 |
-
*
|
23 |
-
* @since 8.0.0
|
24 |
-
* @access public
|
25 |
-
* @return mixed
|
26 |
-
*/
|
27 |
-
public function init() {
|
28 |
-
$this->service_name = 'goo.gl';
|
29 |
-
$this->credentials = array(
|
30 |
-
'key' => '',
|
31 |
-
);
|
32 |
-
}
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Method to retrieve the shorten url from the API call.
|
36 |
-
*
|
37 |
-
* @since 8.0.0
|
38 |
-
* @access public
|
39 |
-
* @param string $url The url to shorten.
|
40 |
-
* @return string
|
41 |
-
*/
|
42 |
-
public function shorten_url( $url ) {
|
43 |
-
|
44 |
-
$response = $this->callAPI(
|
45 |
-
'https://www.googleapis.com/urlshortener/v1/url?key=' . $this->credentials['key'],
|
46 |
-
array( 'method' => 'json', 'json' => true ),
|
47 |
-
array( 'longUrl' => urldecode( $url ) ),
|
48 |
-
array( 'Content-Type' => 'application/json' )
|
49 |
-
);
|
50 |
-
$shortURL = $url;
|
51 |
-
if ( intval( $response['error'] ) == 200 && ! isset( $response['response']['error'] ) ) {
|
52 |
-
$shortURL = $response['response']['id'];
|
53 |
-
}
|
54 |
-
return $shortURL;
|
55 |
-
}
|
56 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
68 |
public function __construct() {
|
69 |
|
70 |
$this->plugin_name = 'rop';
|
71 |
+
$this->version = '8.1.2';
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
readme.md
CHANGED
@@ -131,6 +131,13 @@ http://revive.social/plugins/revive-old-post
|
|
131 |
|
132 |
|
133 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
### 8.1.1 - 2018-09-22 ###
|
135 |
|
136 |
* Fix rebrandly shortner missing feature.
|
131 |
|
132 |
|
133 |
## Changelog ##
|
134 |
+
### 8.1.2 - 2018-10-08 ###
|
135 |
+
|
136 |
+
* Fixed issue with hashtags in content
|
137 |
+
* Adds notice for PHP versions lower than 5.6
|
138 |
+
* Replaced goo.gl shortener with firebase dynamic links
|
139 |
+
|
140 |
+
|
141 |
### 8.1.1 - 2018-09-22 ###
|
142 |
|
143 |
* Fix rebrandly shortner missing feature.
|
readme.txt
CHANGED
@@ -131,6 +131,13 @@ http://revive.social/plugins/revive-old-post
|
|
131 |
|
132 |
|
133 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
= 8.1.1 - 2018-09-22 =
|
135 |
|
136 |
* Fix rebrandly shortner missing feature.
|
131 |
|
132 |
|
133 |
== Changelog ==
|
134 |
+
= 8.1.2 - 2018-10-08 =
|
135 |
+
|
136 |
+
* Fixed issue with hashtags in content
|
137 |
+
* Adds notice for PHP versions lower than 5.6
|
138 |
+
* Replaced goo.gl shortener with firebase dynamic links
|
139 |
+
|
140 |
+
|
141 |
= 8.1.1 - 2018-09-22 =
|
142 |
|
143 |
* Fix rebrandly shortner missing feature.
|
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":"df35acc7e7c4275b8eb8617f5b049e03","uninstall.php":"9bd7c020209e4a73f7f541d958afac43"}
|
tweet-old-post.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Revive Old Posts (Former Tweet Old Post)
|
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.
|
20 |
* Author: revive.social
|
21 |
* Author URI: https://revive.social/
|
22 |
* Requires at least: 3.5
|
@@ -68,7 +68,7 @@ register_deactivation_hook( __FILE__, 'deactivate_rop' );
|
|
68 |
function run_rop() {
|
69 |
|
70 |
define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
|
71 |
-
define( 'ROP_LITE_VERSION', '8.1.
|
72 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
73 |
define( 'ROP_DEBUG', false );
|
74 |
define( 'ROP_LITE_PATH', plugin_dir_path( __FILE__ ) );
|
16 |
* Plugin Name: Revive Old Posts (Former Tweet Old Post)
|
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.2
|
20 |
* Author: revive.social
|
21 |
* Author URI: https://revive.social/
|
22 |
* Requires at least: 3.5
|
68 |
function run_rop() {
|
69 |
|
70 |
define( 'ROP_PRO_URL', 'http://revive.social/plugins/revive-old-post/' );
|
71 |
+
define( 'ROP_LITE_VERSION', '8.1.2' );
|
72 |
define( 'ROP_LITE_BASE_FILE', __FILE__ );
|
73 |
define( 'ROP_DEBUG', false );
|
74 |
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 ComposerAutoloaderInit1b7296b013333f5859885324b078a42e::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 ComposerAutoloaderInit64d7ad83d84627ec3fbde7c49e0676ca
|
|
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 ComposerAutoloaderInit64d7ad83d84627ec3fbde7c49e0676ca
|
|
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 ComposerAutoloaderInit1b7296b013333f5859885324b078a42e
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit1b7296b013333f5859885324b078a42e', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit1b7296b013333f5859885324b078a42e', '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 |
+
composerRequire1b7296b013333f5859885324b078a42e($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire1b7296b013333f5859885324b078a42e($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|