• Hi,

    Here is a link to files containing my changes to add caching of passages via the WordPress Transients API. I have done minimal testing but I can’t say it is anywhere near rigorously tested.

    esv-shortcode.php and README

    I could have sent a Mercurial patch but that is longer than the source :-).

    Here is a diff with ignore whitespace changes so you can see what I changed more easily.

    Diff ignoring whitespace (-b -B)

    I have an additional patch that adds an options page to set the caching defaults. (I also encapsulate the code in a class, so there’s a lot of changing going on.) which I can post if anyone is interested.

    It is my hope that you will like the changes and incorporate them into the “official” version. If you do that, please assign your own version number. I used 1.0.21 to avoid a collision with anything you might release.

    Suggestions and feedback welcome.

    Gary

    https://ww.wp.xz.cn/plugins/esv-bible-shortcode-for-wordpress/

The topic ‘Added caching to ESV Bible Shortcode for WordPress’ is closed to new replies.