Skip to content

Commit 149ae5a

Browse files
authored
Merge pull request #113 from wpstarter/dev
Livewire paginator next link
2 parents 498aa3b + 45a589e commit 149ae5a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/WpStarter/Wordpress/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Application extends \WpStarter\Foundation\Application
1111
*
1212
* @var string
1313
*/
14-
const VERSION = '1.9.5';
14+
const VERSION = '1.9.6';
1515

1616
protected $bootstrappedList = [];
1717

src/WpStarter/Wordpress/Services/Livewire.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function paginateLinks( $args = [] ) {
188188
$link .= $args['add_fragment'];
189189

190190
$page_links[] = sprintf(
191-
'<a class="next page-numbers" href="%s" wire:click.prevent="previousPage(%s)">%s</a>',
191+
'<a class="next page-numbers" href="%s" wire:click.prevent="nextPage(%s)">%s</a>',
192192
esc_url( apply_filters( 'livewire_paginate_links', $link, 'next' ) ),
193193
"'{$args['page_name']}'",
194194
$args['next_text']

0 commit comments

Comments
 (0)