Changeset 1453805
- Timestamp:
- 07/13/2016 01:56:23 AM (10 years ago)
- Location:
- cactus-masonry-plus
- Files:
-
- 14 added
- 2 edited
-
assets/zips/0.0.5.1.zip (added)
-
tags/0.0.5.1 (added)
-
tags/0.0.5.1/cactusBrick.js (added)
-
tags/0.0.5.1/cactusBrick.min.js (added)
-
tags/0.0.5.1/cactusGallery.js (added)
-
tags/0.0.5.1/cactusGallery.min.js (added)
-
tags/0.0.5.1/cactusMasonry.php (added)
-
tags/0.0.5.1/cactusMasonryGettingStarted.php (added)
-
tags/0.0.5.1/cactusMasonryPlus.js (added)
-
tags/0.0.5.1/cactusMasonryPlus.min.js (added)
-
tags/0.0.5.1/license.txt (added)
-
tags/0.0.5.1/readme.txt (added)
-
tags/0.0.5.1/style.css (added)
-
tags/0.0.5.1/style.scss (added)
-
trunk/cactusMasonry.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cactus-masonry-plus/trunk/cactusMasonry.php
r1451804 r1453805 2 2 /** 3 3 * @package Cactus Masonry Plus 4 * @version 0.0.5. 04 * @version 0.0.5.1 5 5 */ 6 6 /* … … 8 8 * Plugin URI: cactus.cloud 9 9 * Description: A highly customizable gallery of post thumbnails. 10 * Version: 0.0.5. 010 * Version: 0.0.5.1 11 11 * Author: cactus.cloud 12 12 * Author URI: http://cactus.cloud/masonryplus … … 32 32 33 33 private static $a = null; 34 private static $VERSION = "0.0.5. 0";34 private static $VERSION = "0.0.5.1"; 35 35 36 36 static public function init() { … … 149 149 $page = 1; 150 150 if(self::$a['offset'] == null) { 151 if(self::$a['paginate'] && isset($_GET["paged"])) { 152 $p = intval($_GET["paged"]); 153 if($p != 0) { 154 $page = $p; 155 self::$a['offset'] = (($p - 1) * self::$a['pagesize']); 156 } else self::$a['offset'] = 0; 151 $p = intval((get_query_var('paged')) ? get_query_var('paged') : 1); 152 if($p != 0) { 153 $page = $p; 154 self::$a['offset'] = (($p - 1) * self::$a['pagesize']); 157 155 } else self::$a['offset'] = 0; 158 156 } … … 319 317 $o .= "<div class=\"pages\">"; 320 318 $o .= paginate_links(array( 'base' => @add_query_arg('paged','%#%'), 321 'format' => '?paged=%#%',319 //'format' => '?paged=%#%', 322 320 'total' => $the_query->max_num_pages, 323 321 'current' => $page, -
cactus-masonry-plus/trunk/readme.txt
r1451804 r1453805 5 5 Requires at least: 4.4.2 6 6 Tested up to: 4.5.3 7 Stable tag: 0.0.5. 07 Stable tag: 0.0.5.1 8 8 License: GNU AGPLv3 9 9 License URI: http://cactus.cloud/licenses/agpl-3.0.txt … … 30 30 31 31 == Changelog == 32 = 0.0.5.1 = 33 * Fixed a bug where pretty pagination permalinks would break the pagination 32 34 33 35 = 0.0.5.0 =
Note: See TracChangeset
for help on using the changeset viewer.