Version Description
- Added is_rtl function check to prevent errors with older version of WordPress
Download this release
Release Info
Developer | emartin24 |
Plugin | WP-Paginate |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- readme.txt +4 -1
- screenshot-2.png +0 -0
- wp-paginate.php +4 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.ericmmartin.com/donate/
|
|
4 |
Tags: paginate, pagination, navigation, page, wp-paginate, comments, rtl, seo, usability
|
5 |
Requires at least: 2.2.0 (2.7.0 for comments pagination)
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 1.2
|
8 |
|
9 |
WP-Paginate is a simple and flexible pagination plugin which provides users with better navigation on your WordPress site.
|
10 |
|
@@ -109,6 +109,9 @@ This allows you to use the `.wp-paginate-comments` styles, already in `wp-pagina
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
112 |
= 1.2 =
|
113 |
* Added RTL language support
|
114 |
* Fixed comments pagination bug
|
4 |
Tags: paginate, pagination, navigation, page, wp-paginate, comments, rtl, seo, usability
|
5 |
Requires at least: 2.2.0 (2.7.0 for comments pagination)
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 1.2.1
|
8 |
|
9 |
WP-Paginate is a simple and flexible pagination plugin which provides users with better navigation on your WordPress site.
|
10 |
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 1.2.1 =
|
113 |
+
* Added is_rtl function check to prevent errors with older version of WordPress
|
114 |
+
|
115 |
= 1.2 =
|
116 |
* Added RTL language support
|
117 |
* Fixed comments pagination bug
|
screenshot-2.png
CHANGED
Binary file
|
wp-paginate.php
CHANGED
@@ -4,9 +4,9 @@ Plugin Name: WP-Paginate
|
|
4 |
Plugin URI: http://www.ericmmartin.com/projects/wp-paginate/
|
5 |
Description: A simple and flexible pagination plugin for WordPress posts and comments.
|
6 |
Author: Eric Martin
|
7 |
-
Version: 1.2
|
8 |
Author URI: http://www.ericmmartin.com
|
9 |
-
Revision: $Id: wp-paginate.php
|
10 |
*/
|
11 |
|
12 |
/* Copyright 2010 Eric Martin (eric@ericmmartin.com)
|
@@ -43,7 +43,7 @@ if (!class_exists('WPPaginate')) {
|
|
43 |
/**
|
44 |
* @var string The plugin version
|
45 |
*/
|
46 |
-
var $version = '1.2';
|
47 |
|
48 |
/**
|
49 |
* @var string The options string name for this plugin
|
@@ -211,7 +211,7 @@ if (!class_exists('WPPaginate')) {
|
|
211 |
}
|
212 |
wp_enqueue_style('wp-paginate', $css, false, $this->version, 'screen');
|
213 |
|
214 |
-
if (is_rtl()) {
|
215 |
$name = "wp-paginate-rtl.css";
|
216 |
if (false !== @file_exists(TEMPLATEPATH . "/$name")) {
|
217 |
$css = get_template_directory_uri() . "/$name";
|
4 |
Plugin URI: http://www.ericmmartin.com/projects/wp-paginate/
|
5 |
Description: A simple and flexible pagination plugin for WordPress posts and comments.
|
6 |
Author: Eric Martin
|
7 |
+
Version: 1.2.1
|
8 |
Author URI: http://www.ericmmartin.com
|
9 |
+
Revision: $Id: wp-paginate.php 295407 2010-09-30 21:59:37Z emartin24 $
|
10 |
*/
|
11 |
|
12 |
/* Copyright 2010 Eric Martin (eric@ericmmartin.com)
|
43 |
/**
|
44 |
* @var string The plugin version
|
45 |
*/
|
46 |
+
var $version = '1.2.1';
|
47 |
|
48 |
/**
|
49 |
* @var string The options string name for this plugin
|
211 |
}
|
212 |
wp_enqueue_style('wp-paginate', $css, false, $this->version, 'screen');
|
213 |
|
214 |
+
if (function_exists('is_rtl') && is_rtl()) {
|
215 |
$name = "wp-paginate-rtl.css";
|
216 |
if (false !== @file_exists(TEMPLATEPATH . "/$name")) {
|
217 |
$css = get_template_directory_uri() . "/$name";
|