File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
8
8
9
9
10
10
## [ Released]
11
+
12
+ ## [ 1.34.3] - 2021-09-30
13
+ - Pagination parameter page_count didn't always return the right value. This update will fix it.
14
+
11
15
## [ 1.34.2] - 2021-08-09
12
16
13
17
### Added
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ public function output() {
185
185
$ data ->page_var = $ this ->page_var ;
186
186
$ data ->page_link = apply_filters ( 'dustpress/pagination/page_link ' , $ page_link );
187
187
$ data ->page = $ cur_page ;
188
- $ data ->page_count = \count ( $ pages ) ;
188
+ $ data ->page_count = $ page_count ;
189
189
190
190
$ data ->S = (object ) [];
191
191
$ data ->S ->prev = $ strings ['previous ' ];
You can’t perform that action at this time.
0 commit comments