I'm going to skip the questions the PM may well raise, like "When'll you have a fix for it, are we talking hours or days?"
oik version 2.4 fixes a problem with pagination in WordPress 4.1.
WordPress 4.1 ( “Dinah” ) was released on the 18th December 2014. I’m proud to be listed as a contributor to this version; I’m bobbingwide.
For the last couple of days I’ve been releasing beta versions of the oik base plugin, happily reporting that it’s been tested with WordPress 4.1 and WordPress Multisite.
But yesterday I realized that some code that worked in WordPress 3.9 no longer worked with 4.1
I tracked it down to a change to the paginate_links() API, which I use in shortcodes which support pagination.
- Post: 20206
- __qca cookie – what makes it appear?
- “Probably doing it wrong” at PHPHants – 13 Nov 2013
Help for shortcode: [bw_code]Display the help and syntax for a shortcode
shortcode="bw_code| shortcode - The shortcode you want explained"
help="Y| N - Display help for the shortcode"
syntax="Y| N - Display the syntax"
example="Y| N - Display an example, if possible"
live="N| Y - Display the live results using default values"
snippet="N| Y - Display the generated HTML"]
e.g. [bw_code shortcode="oik"]
Display information about the [oik] shortcode
The pagination links were correct on the first page, but wrong on any other. I developed the fix, tested it and released it as 2.4-beta.1223.
The change was trivial. Unlike other changes in oik 2.4, the potential for the discovering the problem was not limited to sites which were running an alpha or beta version.
Anyone who had upgraded to WordPress 4.1 could have seen the problem.
So earlier this morning, I decided it was time to make the fix available to everyone, not just beta testers.
Therefore oik v2.4 has now been released to WordPress.org.