Skip to content

Commit

Permalink
%d not %s
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterchan committed Jul 2, 2017
1 parent ce92882 commit ed9751f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function wp_pagenavi( $args = array() ) {
if ( $larger_page < ($start_page - $half_page_start) && $larger_page_start < $larger_page_to_show ) {
$out .= $instance->get_single( $larger_page, $options['page_text'], array(
'class' => "{$class_names['smaller']} {$class_names['page']}",
'title' => sprintf( __( 'Page %d', 'wp-pagenavi' ), number_format_i18n( $larger_page ) ),
'title' => sprintf( __( 'Page %s', 'wp-pagenavi' ), number_format_i18n( $larger_page ) ),
) );
$larger_page_start++;
}
Expand Down Expand Up @@ -156,7 +156,7 @@ function wp_pagenavi( $args = array() ) {
if ( $larger_page > ($end_page + $half_page_end) && $larger_page_end < $larger_page_to_show ) {
$larger_page_out .= $instance->get_single( $larger_page, $options['page_text'], array(
'class' => "{$class_names['larger']} {$class_names['page']}",
'title' => sprintf( __( 'Page %d', 'wp-pagenavi' ), number_format_i18n( $larger_page ) ),
'title' => sprintf( __( 'Page %s', 'wp-pagenavi' ), number_format_i18n( $larger_page ) ),
) );
$larger_page_end++;
}
Expand Down
4 changes: 2 additions & 2 deletions wp-pagenavi.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
/*
Plugin Name: WP-PageNavi
Plugin URI: http://lesterchan.net/portfolio/programming/php/
Plugin URI: https://lesterchan.net/portfolio/programming/php/
Description: Adds a more advanced paging navigation to your WordPress blog
Version: 2.92
Author: Lester 'GaMerZ' Chan
Author URI: http://lesterchan.net
Author URI: https://lesterchan.net
Text Domain: wp-pagenavi
*/

Expand Down

0 comments on commit ed9751f

Please sign in to comment.