Changeset 1314912
- Timestamp:
- 12/23/2015 08:58:04 AM (10 years ago)
- Location:
- comic-easel/trunk
- Files:
-
- 4 edited
-
comiceasel.php (modified) (2 diffs)
-
css/comiceasel.css (modified) (1 diff)
-
functions/navigation.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
comic-easel/trunk/comiceasel.php
r1254820 r1314912 4 4 Plugin URI: http://comiceasel.com 5 5 Description: Comic Easel allows you to incorporate a WebComic using the WordPress Media Library functionality with Navigation into almost all WordPress themes. With just a few modifications of adding injection do_action locations into a theme, you can have the theme of your choice display and manage a webcomic. 6 Version: 1.9. 86 Version: 1.9.9 7 7 Author: Philip M. Hofer (Frumph) 8 8 Author URI: http://frumph.net/ … … 522 522 'plugin_url' => plugin_dir_url(__FILE__), 523 523 'plugin_path' => plugin_dir_path(__FILE__), 524 'version' => '1.9. 8'524 'version' => '1.9.9' 525 525 ); 526 526 // Combine em. -
comic-easel/trunk/css/comiceasel.css
r1254711 r1314912 70 70 } 71 71 72 body.scheme-ceasel .comic-nav a:link, body.scheme-ceasel .comic-nav a:vis ted {72 body.scheme-ceasel .comic-nav a:link, body.scheme-ceasel .comic-nav a:visited { 73 73 color: #000; 74 74 } -
comic-easel/trunk/functions/navigation.php
r1017775 r1314912 185 185 function ceo_get_adjacent_chapter($prev = false) { 186 186 global $post; 187 187 188 $current_chapter = get_the_terms($post->ID, 'chapters'); 188 189 if (is_array($current_chapter)) { $current_chapter = reset($current_chapter); } else { return; } 189 $current_order = $current_chapter->menu_order; 190 191 // cache the calculation of the desired chapter to work around a weird intermittent bug with w3 total cache's object cache 192 $current_order = wp_cache_get( 'ceo_current_order_'.$current_chapter->slug ); 193 if ( false === $current_order ) { 194 $current_order = $current_chapter->menu_order; 195 wp_cache_set( 'ceo_current_order_'.$current_chapter->slug, $current_order ); 196 } 197 190 198 $find_order = (bool)$prev ? $current_order - 1 : $current_order + 1; 199 191 200 if (!$find_order) return false; 192 201 $args = array( … … 204 213 return false; 205 214 } 215 206 216 207 217 function ceo_get_previous_chapter() { -
comic-easel/trunk/readme.txt
r1254820 r1314912 4 4 Tags: comiceasel, easel, webcomic, comic, webcomic 5 5 Requires at least: 4.3 6 Tested up to: 4. 37 Stable tag: 1.9. 86 Tested up to: 4.4 7 Stable tag: 1.9.9 8 8 Donate link: http://frumph.net 9 9 License: GPLv3 or later … … 129 129 130 130 == Changelog == 131 132 = 1.9.9 = 133 * @Egypturnash - fix ceo_get_adjacent_chapter to work with W3 Total Cache's object cache 134 131 135 = 1.9.8 = 132 136 * Put navigation bar back where people expect it to be, will make it an option for 1.9.9
Note: See TracChangeset
for help on using the changeset viewer.