Version Description
Download this release
Release Info
| Developer | barrykooij |
| Plugin | |
| Version | 1.9.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.9.0 to 1.9.1
- assets/images/never5-logo.png +0 -0
- classes/class-is-installing-notice.php +1 -1
- classes/class-rp4wp.php +1 -1
- classes/hooks/class-hook-settings-page.php +8 -13
- readme.txt +5 -2
- related-posts-for-wp.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_real_52.php +3 -3
assets/images/never5-logo.png
ADDED
|
Binary file
|
classes/class-is-installing-notice.php
CHANGED
|
@@ -67,7 +67,7 @@ if ( ! class_exists( 'RP4WP_Is_Installing_Notice' ) ) {
|
|
| 67 |
*/
|
| 68 |
public function content() {
|
| 69 |
$query_params = $this->get_admin_query_string_array();
|
| 70 |
-
$install_query_string = '?' . http_build_query( array_merge( $query_params, array( 'page' => 'rp4wp_install' ) ) );
|
| 71 |
$dismiss_query_string = '?' . http_build_query( array_merge( $query_params, array( 'rp4wp_hide_is_installing' => 1 ) ) );
|
| 72 |
|
| 73 |
echo '<div class="error"><p>';
|
| 67 |
*/
|
| 68 |
public function content() {
|
| 69 |
$query_params = $this->get_admin_query_string_array();
|
| 70 |
+
$install_query_string = '?' . http_build_query( array_merge( $query_params, array( 'page' => 'rp4wp_install', 'rp4wp_nonce' => wp_create_nonce( RP4WP_Constants::NONCE_INSTALL ) ) ) );
|
| 71 |
$dismiss_query_string = '?' . http_build_query( array_merge( $query_params, array( 'rp4wp_hide_is_installing' => 1 ) ) );
|
| 72 |
|
| 73 |
echo '<div class="error"><p>';
|
classes/class-rp4wp.php
CHANGED
|
@@ -8,7 +8,7 @@ class RP4WP {
|
|
| 8 |
|
| 9 |
private static $instance = null;
|
| 10 |
|
| 11 |
-
const VERSION = '1.9.
|
| 12 |
|
| 13 |
/**
|
| 14 |
* @var RP4WP_Settings
|
| 8 |
|
| 9 |
private static $instance = null;
|
| 10 |
|
| 11 |
+
const VERSION = '1.9.1';
|
| 12 |
|
| 13 |
/**
|
| 14 |
* @var RP4WP_Settings
|
classes/hooks/class-hook-settings-page.php
CHANGED
|
@@ -80,24 +80,24 @@ class RP4WP_Hook_Settings_Page extends RP4WP_Hook {
|
|
| 80 |
|
| 81 |
<p><?php printf( __( "%sTweet about Related Posts for WordPress%s", 'related-posts-for-wp' ), '<a href="https://twitter.com/intent/tweet?text=Showing%20my%20appreciation%20to%20%40CageNL%20for%20his%20WordPress%20plugin%3A%20Related%20Posts%20for%20WordPress%20-%20check%20it%20out!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Frelated-posts-for-wp%2F" target="_blank">', '</a>' ); ?></p>
|
| 82 |
|
| 83 |
-
<p><?php printf( __( "Review the plugin on your blog and link to %sthe plugin page%s", 'related-posts-for-wp' ), '<a href="https://www.relatedpostsforwp.com/?utm_source=plugin&utm_medium=link&utm_campaign=help-us" target="_blank">', '</a>' ); ?></p>
|
| 84 |
-
|
| 85 |
<p><?php printf( __( "%sVote 'works' on the WordPress.org plugin page%s", 'related-posts-for-wp' ), '<a href="http://wordpress.org/plugins/related-posts-for-wp/" target="_blank">', '</a>' ); ?></p>
|
| 86 |
|
|
|
|
|
|
|
| 87 |
</div>
|
| 88 |
|
| 89 |
<div class="rp4wp-box">
|
| 90 |
-
<h3 class="rp4wp-title"><?php _e( 'About
|
| 91 |
|
| 92 |
-
<
|
| 93 |
|
| 94 |
-
<p><?php
|
| 95 |
|
| 96 |
-
<p><?php printf( __( "%sFollow
|
| 97 |
</div>
|
| 98 |
|
| 99 |
</div>
|
| 100 |
-
|
| 101 |
}
|
| 102 |
|
| 103 |
/**
|
|
@@ -157,11 +157,6 @@ class RP4WP_Hook_Settings_Page extends RP4WP_Hook {
|
|
| 157 |
|
| 158 |
}
|
| 159 |
|
| 160 |
-
// echo '<pre>';
|
| 161 |
-
// print_r( $wp_settings_sections['rp4wp'] );
|
| 162 |
-
// echo '</pre>';
|
| 163 |
-
|
| 164 |
-
|
| 165 |
// submit button
|
| 166 |
submit_button();
|
| 167 |
?>
|
|
@@ -169,6 +164,6 @@ class RP4WP_Hook_Settings_Page extends RP4WP_Hook {
|
|
| 169 |
</div>
|
| 170 |
<?php $this->sidebar(); ?>
|
| 171 |
</div>
|
| 172 |
-
|
| 173 |
}
|
| 174 |
}
|
| 80 |
|
| 81 |
<p><?php printf( __( "%sTweet about Related Posts for WordPress%s", 'related-posts-for-wp' ), '<a href="https://twitter.com/intent/tweet?text=Showing%20my%20appreciation%20to%20%40CageNL%20for%20his%20WordPress%20plugin%3A%20Related%20Posts%20for%20WordPress%20-%20check%20it%20out!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Frelated-posts-for-wp%2F" target="_blank">', '</a>' ); ?></p>
|
| 82 |
|
|
|
|
|
|
|
| 83 |
<p><?php printf( __( "%sVote 'works' on the WordPress.org plugin page%s", 'related-posts-for-wp' ), '<a href="http://wordpress.org/plugins/related-posts-for-wp/" target="_blank">', '</a>' ); ?></p>
|
| 84 |
|
| 85 |
+
<p><a href="http://www.never5.com/" target="_blank"><?php _e( "Check out our other plugins at Never5.com", 'related-posts-for-wp' ); ?></a></p>
|
| 86 |
+
|
| 87 |
</div>
|
| 88 |
|
| 89 |
<div class="rp4wp-box">
|
| 90 |
+
<h3 class="rp4wp-title"><?php _e( 'About Never5', 'related-posts-for-wp' ); ?></h3>
|
| 91 |
|
| 92 |
+
<a href="http://www.never5.com" target="_blank"><img src="<?php echo plugins_url( '/assets/images/never5-logo.png', RP4WP::get_plugin_file() ); ?>" alt="Never5" style="float:left;padding:0 10px 10px 0;" /></a>
|
| 93 |
|
| 94 |
+
<p><?php printf( __( 'At %sNever5%s we create high quality premium WordPress plugins, with extensive support. We offer solutions in related posts, advanced download management, vehicle management and connecting post types.', 'related-posts-for-wp'), '<a href="http://www.never5.com" target="_blank">', '</a>' ); ?></p>
|
| 95 |
|
| 96 |
+
<p><?php printf( __( "%sFollow Never5 on Twitter%s", 'related-posts-for-wp' ), '<a href="https://twitter.com/Never5Plugins" target="_blank">', '</a>' ); ?></p>
|
| 97 |
</div>
|
| 98 |
|
| 99 |
</div>
|
| 100 |
+
<?php
|
| 101 |
}
|
| 102 |
|
| 103 |
/**
|
| 157 |
|
| 158 |
}
|
| 159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
// submit button
|
| 161 |
submit_button();
|
| 162 |
?>
|
| 164 |
</div>
|
| 165 |
<?php $this->sidebar(); ?>
|
| 166 |
</div>
|
| 167 |
+
<?php
|
| 168 |
}
|
| 169 |
}
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: never5, barrykooij
|
|
| 3 |
Donate link: http://www.barrykooij.com/donate/
|
| 4 |
Tags: related posts for wordpress, related posts for wp, simple related posts, easy related posts, related posts, related, relations, internal links, seo, bounce rate
|
| 5 |
Requires at least: 3.6
|
| 6 |
-
Tested up to: 4.
|
| 7 |
-
Stable tag: 1.9.
|
| 8 |
License: GPLv3 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
|
|
@@ -118,6 +118,9 @@ There is one custom table created for the post cache, this table will however no
|
|
| 118 |
|
| 119 |
== Changelog ==
|
| 120 |
|
|
|
|
|
|
|
|
|
|
| 121 |
= 1.9.0: June 29, 2015 =
|
| 122 |
* Feature: Add pagination to manual post link table.
|
| 123 |
* Feature: Added id attribute to [rp4wp] shortcode.
|
| 3 |
Donate link: http://www.barrykooij.com/donate/
|
| 4 |
Tags: related posts for wordpress, related posts for wp, simple related posts, easy related posts, related posts, related, relations, internal links, seo, bounce rate
|
| 5 |
Requires at least: 3.6
|
| 6 |
+
Tested up to: 4.3
|
| 7 |
+
Stable tag: 1.9.1
|
| 8 |
License: GPLv3 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
|
| 118 |
|
| 119 |
== Changelog ==
|
| 120 |
|
| 121 |
+
= 1.9.1: September 10, 2015 =
|
| 122 |
+
* Tweak: Fixed the `Woah! It looks like something else tried to run the Related Posts for WordPress` error message when resuming the wizard via the installing notice.
|
| 123 |
+
|
| 124 |
= 1.9.0: June 29, 2015 =
|
| 125 |
* Feature: Add pagination to manual post link table.
|
| 126 |
* Feature: Added id attribute to [rp4wp] shortcode.
|
related-posts-for-wp.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Related Posts for WordPress
|
| 4 |
Plugin URI: http://www.relatedpostsforwp.com/
|
| 5 |
Description: Related Posts for WordPress, the best way to display related posts in WordPress.
|
| 6 |
-
Version: 1.9.
|
| 7 |
Author: Barry Kooij
|
| 8 |
Author URI: http://www.barrykooij.com/
|
| 9 |
License: GPL v3
|
| 3 |
Plugin Name: Related Posts for WordPress
|
| 4 |
Plugin URI: http://www.relatedpostsforwp.com/
|
| 5 |
Description: Related Posts for WordPress, the best way to display related posts in WordPress.
|
| 6 |
+
Version: 1.9.1
|
| 7 |
Author: Barry Kooij
|
| 8 |
Author URI: http://www.barrykooij.com/
|
| 9 |
License: GPL v3
|
vendor/autoload_52.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit4547b3ffa653b535c9c3af8cf1e7f015::getLoader();
|
vendor/composer/autoload_real_52.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
-
class
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit0c9c1396e7a1bddfc908f1432cae5da0 {
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit4547b3ffa653b535c9c3af8cf1e7f015 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit4547b3ffa653b535c9c3af8cf1e7f015', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit4547b3ffa653b535c9c3af8cf1e7f015', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
