Changeset 2684481
- Timestamp:
- 02/24/2022 03:35:57 PM (4 years ago)
- Location:
- jpd2
- Files:
-
- 30 added
- 6 edited
- 1 copied
-
tags/0.8.3 (copied) (copied from jpd2/trunk)
-
tags/0.8.3/class-jpd2.php (modified) (1 diff)
-
tags/0.8.3/composer.json (added)
-
tags/0.8.3/composer.lock (added)
-
tags/0.8.3/jpd2.php (modified) (2 diffs)
-
tags/0.8.3/readme.txt (modified) (2 diffs)
-
tags/0.8.3/vendor (added)
-
tags/0.8.3/vendor/autoload.php (added)
-
tags/0.8.3/vendor/composer (added)
-
tags/0.8.3/vendor/composer/ClassLoader.php (added)
-
tags/0.8.3/vendor/composer/InstalledVersions.php (added)
-
tags/0.8.3/vendor/composer/LICENSE (added)
-
tags/0.8.3/vendor/composer/autoload_classmap.php (added)
-
tags/0.8.3/vendor/composer/autoload_namespaces.php (added)
-
tags/0.8.3/vendor/composer/autoload_psr4.php (added)
-
tags/0.8.3/vendor/composer/autoload_real.php (added)
-
tags/0.8.3/vendor/composer/autoload_static.php (added)
-
tags/0.8.3/vendor/composer/installed.json (added)
-
tags/0.8.3/vendor/composer/installed.php (added)
-
trunk/class-jpd2.php (modified) (1 diff)
-
trunk/composer.json (added)
-
trunk/composer.lock (added)
-
trunk/jpd2.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor (added)
-
trunk/vendor/autoload.php (added)
-
trunk/vendor/composer (added)
-
trunk/vendor/composer/ClassLoader.php (added)
-
trunk/vendor/composer/InstalledVersions.php (added)
-
trunk/vendor/composer/LICENSE (added)
-
trunk/vendor/composer/autoload_classmap.php (added)
-
trunk/vendor/composer/autoload_namespaces.php (added)
-
trunk/vendor/composer/autoload_psr4.php (added)
-
trunk/vendor/composer/autoload_real.php (added)
-
trunk/vendor/composer/autoload_static.php (added)
-
trunk/vendor/composer/installed.json (added)
-
trunk/vendor/composer/installed.php (added)
Legend:
- Unmodified
- Added
- Removed
-
jpd2/tags/0.8.3/class-jpd2.php
r872936 r2684481 30 30 * @since 0.0.1 31 31 */ 32 function ca ke_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 ) { 33 33 //if transient {$name} exists return it and move on with life 34 34 if ( false === ( $query = get_transient( $name ) ) ) { -
jpd2/tags/0.8.3/jpd2.php
r872936 r2684481 4 4 Plugin URI: http://joshpress.net/blog/jpd2/ 5 5 Description: Makes caching WordPress queries via the Transients API easy. 6 Version: 0. 1.06 Version: 0.8.3 7 7 Author: Josh Pollock 8 8 Author URI: http://www.JoshPress.net … … 43 43 require_once( 'class-jpd2.php' ); 44 44 $jpd2 = new jpd2_better_query(); 45 $query = $jpd2->ca ke_or_death( $args, $type, $name, $expire, $pod );45 $query = $jpd2->cache_or_query( $args, $type, $name, $expire, $pod ); 46 46 return $query; 47 47 } -
jpd2/tags/0.8.3/readme.txt
r1461889 r2684481 6 6 Requires at least: 3.8 7 7 Tested up to: 3.8.1 8 Stable tag: 0. 1.08 Stable tag: 0.8.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 11 12 13 A plugin Josh wrote a long time ago. 12 Makes caching WordPress queries via the Transients API easy. 14 13 15 14 == 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 16 Makes 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 18 All saved queries are automatically reset when any post is updated. 19 20 Basic 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 17 27 18 28 == Installation == … … 84 94 * Update plugin URI 85 95 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 86 101 == Upgrade Notice == 87 102 88 103 Nothing to notice for now. 89 -
jpd2/trunk/class-jpd2.php
r872936 r2684481 30 30 * @since 0.0.1 31 31 */ 32 function ca ke_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 ) { 33 33 //if transient {$name} exists return it and move on with life 34 34 if ( false === ( $query = get_transient( $name ) ) ) { -
jpd2/trunk/jpd2.php
r872936 r2684481 4 4 Plugin URI: http://joshpress.net/blog/jpd2/ 5 5 Description: Makes caching WordPress queries via the Transients API easy. 6 Version: 0. 1.06 Version: 0.8.3 7 7 Author: Josh Pollock 8 8 Author URI: http://www.JoshPress.net … … 43 43 require_once( 'class-jpd2.php' ); 44 44 $jpd2 = new jpd2_better_query(); 45 $query = $jpd2->ca ke_or_death( $args, $type, $name, $expire, $pod );45 $query = $jpd2->cache_or_query( $args, $type, $name, $expire, $pod ); 46 46 return $query; 47 47 } -
jpd2/trunk/readme.txt
r1461889 r2684481 6 6 Requires at least: 3.8 7 7 Tested up to: 3.8.1 8 Stable tag: 0. 1.08 Stable tag: 0.8.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 11 12 13 A plugin Josh wrote a long time ago. 12 Makes caching WordPress queries via the Transients API easy. 14 13 15 14 == 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 16 Makes 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 18 All saved queries are automatically reset when any post is updated. 19 20 Basic 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 17 27 18 28 == Installation == … … 84 94 * Update plugin URI 85 95 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 86 101 == Upgrade Notice == 87 102 88 103 Nothing to notice for now. 89
Note: See TracChangeset
for help on using the changeset viewer.