Plugin Directory

Changeset 2684481


Ignore:
Timestamp:
02/24/2022 03:35:57 PM (4 years ago)
Author:
Shelob9
Message:

Update to version 0.8.3 from GitHub

Location:
jpd2
Files:
30 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • jpd2/tags/0.8.3/class-jpd2.php

    r872936 r2684481  
    3030     * @since 0.0.1
    3131     */
    32     function cake_or_death( $args, $type='wp_query', $name, $expire= null, $pod=null ) {
     32    function cache_or_query( $args, $type='wp_query', $name, $expire= null, $pod=null ) {
    3333        //if transient {$name} exists return it and move on with life
    3434        if ( false === ( $query = get_transient( $name ) ) ) {
  • jpd2/tags/0.8.3/jpd2.php

    r872936 r2684481  
    44Plugin URI: http://joshpress.net/blog/jpd2/
    55Description: Makes caching WordPress queries via the Transients API easy.
    6 Version: 0.1.0
     6Version: 0.8.3
    77Author: Josh Pollock
    88Author URI: http://www.JoshPress.net
     
    4343        require_once( 'class-jpd2.php' );
    4444        $jpd2 = new jpd2_better_query();
    45         $query = $jpd2->cake_or_death( $args, $type, $name, $expire, $pod );
     45        $query = $jpd2->cache_or_query( $args, $type, $name, $expire, $pod );
    4646        return $query;
    4747    }
  • jpd2/tags/0.8.3/readme.txt

    r1461889 r2684481  
    66Requires at least: 3.8
    77Tested up to: 3.8.1
    8 Stable tag: 0.1.0
     8Stable tag: 0.8.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 
    13 A plugin Josh wrote a long time ago.
     12Makes caching WordPress queries via the Transients API easy.
    1413
    1514== Description ==
    16 A plugin I wrote a while ago. Seemed like a good idea. Meh... Don't use this. Use [http://CalderaWP.com/downloads/caldera-forms](Caldera Forms) that's an awesome plugin.
     15
     16Makes caching the results of a WP_Query, WP_User_Query and WP_Meta_Query, via the transients API easy. Realize increased performance, by caching the results of your queries, with one simple function.
     17
     18All saved queries are automatically reset when any post is updated.
     19
     20Basic usage:
     21
     22* Specify arguments for the query ($args)
     23* Give the query a name ($name)
     24* $query = jpd2_better_query( $args, $name );
     25* Use $query like you would any other WP_Query object.
     26* See FAQ for other usages
    1727
    1828== Installation ==
     
    8494* Update plugin URI
    8595
     96= 0.1.0
     97* Fix conditional logic preventing non WP_Query queries from working.
     98* Fix args in main function.
     99* Support for Pods queries.
     100
    86101== Upgrade Notice ==
    87102
    88103Nothing to notice for now.
    89 
  • jpd2/trunk/class-jpd2.php

    r872936 r2684481  
    3030     * @since 0.0.1
    3131     */
    32     function cake_or_death( $args, $type='wp_query', $name, $expire= null, $pod=null ) {
     32    function cache_or_query( $args, $type='wp_query', $name, $expire= null, $pod=null ) {
    3333        //if transient {$name} exists return it and move on with life
    3434        if ( false === ( $query = get_transient( $name ) ) ) {
  • jpd2/trunk/jpd2.php

    r872936 r2684481  
    44Plugin URI: http://joshpress.net/blog/jpd2/
    55Description: Makes caching WordPress queries via the Transients API easy.
    6 Version: 0.1.0
     6Version: 0.8.3
    77Author: Josh Pollock
    88Author URI: http://www.JoshPress.net
     
    4343        require_once( 'class-jpd2.php' );
    4444        $jpd2 = new jpd2_better_query();
    45         $query = $jpd2->cake_or_death( $args, $type, $name, $expire, $pod );
     45        $query = $jpd2->cache_or_query( $args, $type, $name, $expire, $pod );
    4646        return $query;
    4747    }
  • jpd2/trunk/readme.txt

    r1461889 r2684481  
    66Requires at least: 3.8
    77Tested up to: 3.8.1
    8 Stable tag: 0.1.0
     8Stable tag: 0.8.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 
    13 A plugin Josh wrote a long time ago.
     12Makes caching WordPress queries via the Transients API easy.
    1413
    1514== Description ==
    16 A plugin I wrote a while ago. Seemed like a good idea. Meh... Don't use this. Use [http://CalderaWP.com/downloads/caldera-forms](Caldera Forms) that's an awesome plugin.
     15
     16Makes caching the results of a WP_Query, WP_User_Query and WP_Meta_Query, via the transients API easy. Realize increased performance, by caching the results of your queries, with one simple function.
     17
     18All saved queries are automatically reset when any post is updated.
     19
     20Basic usage:
     21
     22* Specify arguments for the query ($args)
     23* Give the query a name ($name)
     24* $query = jpd2_better_query( $args, $name );
     25* Use $query like you would any other WP_Query object.
     26* See FAQ for other usages
    1727
    1828== Installation ==
     
    8494* Update plugin URI
    8595
     96= 0.1.0
     97* Fix conditional logic preventing non WP_Query queries from working.
     98* Fix args in main function.
     99* Support for Pods queries.
     100
    86101== Upgrade Notice ==
    87102
    88103Nothing to notice for now.
    89 
Note: See TracChangeset for help on using the changeset viewer.