WP-Paginate - Version 1.3.1

Version Description

  • Fixed bug that prevented a wp-paginate.css stylesheet from loading from a child theme (reported by sunamumaya)
  • Tested plugin against WordPress 4.1
Download this release

Release Info

Developer emartin24
Plugin Icon 128x128 WP-Paginate
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3 to 1.3.1

Files changed (2) hide show
  1. readme.txt +6 -2
  2. wp-paginate.php +7 -6
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: StudioFuel, emartin24
3
  Tags: paginate, pagination, navigation, page, wp-paginate, comments, rtl, seo, usability
4
  Requires at least: 2.6.0 (2.7.0 for comments pagination)
5
- Tested up to: 4.0.1
6
- Stable tag: 1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -153,6 +153,10 @@ N/A
153
 
154
  == Changelog ==
155
 
 
 
 
 
156
  = 1.3 =
157
  * Plugin ownership transfered to Studio Fuel (http://studiofuel.com) - no functional changes were made
158
  * Tested plugin against WordPress 4.0.1
2
  Contributors: StudioFuel, emartin24
3
  Tags: paginate, pagination, navigation, page, wp-paginate, comments, rtl, seo, usability
4
  Requires at least: 2.6.0 (2.7.0 for comments pagination)
5
+ Tested up to: 4.1
6
+ Stable tag: 1.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
153
 
154
  == Changelog ==
155
 
156
+ = 1.3.1 =
157
+ * Fixed bug that prevented a wp-paginate.css stylesheet from loading from a child theme (reported by sunamumaya)
158
+ * Tested plugin against WordPress 4.1
159
+
160
  = 1.3 =
161
  * Plugin ownership transfered to Studio Fuel (http://studiofuel.com) - no functional changes were made
162
  * Tested plugin against WordPress 4.0.1
wp-paginate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Paginate
4
  Plugin URI: http://www.studiofuel.com/wp-paginate/
5
  Description: A simple and flexible pagination plugin for WordPress posts and comments.
6
- Version: 1.3
7
  Author: Noah Cinquini
8
  Author URI: http://www.studiofuel.com
9
  */
@@ -44,7 +44,7 @@ if (!class_exists('WPPaginate')) {
44
  /**
45
  * @var string The plugin version
46
  */
47
- var $version = '1.3';
48
 
49
  /**
50
  * @var string The options string name for this plugin
@@ -201,8 +201,9 @@ if (!class_exists('WPPaginate')) {
201
 
202
  function wp_paginate_css() {
203
  $name = "wp-paginate.css";
204
- if (false !== @file_exists(TEMPLATEPATH . "/$name")) {
205
- $css = get_template_directory_uri() . "/$name";
 
206
  }
207
  else {
208
  $css = $this->pluginurl . $name;
@@ -211,8 +212,8 @@ if (!class_exists('WPPaginate')) {
211
 
212
  if (function_exists('is_rtl') && is_rtl()) {
213
  $name = "wp-paginate-rtl.css";
214
- if (false !== @file_exists(TEMPLATEPATH . "/$name")) {
215
- $css = get_template_directory_uri() . "/$name";
216
  }
217
  else {
218
  $css = $this->pluginurl . $name;
3
  Plugin Name: WP-Paginate
4
  Plugin URI: http://www.studiofuel.com/wp-paginate/
5
  Description: A simple and flexible pagination plugin for WordPress posts and comments.
6
+ Version: 1.3.1
7
  Author: Noah Cinquini
8
  Author URI: http://www.studiofuel.com
9
  */
44
  /**
45
  * @var string The plugin version
46
  */
47
+ var $version = '1.3.1';
48
 
49
  /**
50
  * @var string The options string name for this plugin
201
 
202
  function wp_paginate_css() {
203
  $name = "wp-paginate.css";
204
+
205
+ if (false !== @file_exists(STYLESHEETPATH . "/$name")) {
206
+ $css = get_stylesheet_directory_uri() . "/$name";
207
  }
208
  else {
209
  $css = $this->pluginurl . $name;
212
 
213
  if (function_exists('is_rtl') && is_rtl()) {
214
  $name = "wp-paginate-rtl.css";
215
+ if (false !== @file_exists(STYLESHEETPATH . "/$name")) {
216
+ $css = get_stylesheet_directory_uri() . "/$name";
217
  }
218
  else {
219
  $css = $this->pluginurl . $name;