You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a while to notice, but after upgrading to WordPress 4.4, we realised that pagination was not working properly. The x to y of z information and the paging links were correct, but the listed content being displayed was always from page one.
Explanation
The function _bw_get_posts() which is used when we need the total number of posts was passing the default value for offset, 0. It seems that this should now be ''.
Temporary fix
Change the code in _bw_get_posts() from 'offset' => 0 to 'offset' => ''
File oik/includes/bw_posts.inc
This fix has been applied to oik-plugins.com
Permanent fix
Publish a new version of the oik base plugin. Rather than issue v2.5.1 we may decide to officially release version v3.0.0.
The text was updated successfully, but these errors were encountered:
It took me a while to notice, but after upgrading to WordPress 4.4, we realised that pagination was not working properly. The
x to y of z
information and the paging links were correct, but the listed content being displayed was always from page one.Explanation
The function _bw_get_posts() which is used when we need the total number of posts was passing the default value for offset, 0. It seems that this should now be ''.
Temporary fix
Change the code in _bw_get_posts() from
'offset' => 0
to'offset' => ''
File oik/includes/bw_posts.inc
This fix has been applied to oik-plugins.com
Permanent fix
Publish a new version of the oik base plugin. Rather than issue v2.5.1 we may decide to officially release version v3.0.0.
The text was updated successfully, but these errors were encountered: