Changeset 1492870
- Timestamp:
- 09/08/2016 09:58:28 PM (10 years ago)
- Location:
- cactus-masonry-plus
- Files:
-
- 14 added
- 2 edited
-
assets/versions/0.0.5.4 (added)
-
assets/versions/0.0.5.4/cactusBrick.js (added)
-
assets/versions/0.0.5.4/cactusBrick.min.js (added)
-
assets/versions/0.0.5.4/cactusGallery.js (added)
-
assets/versions/0.0.5.4/cactusGallery.min.js (added)
-
assets/versions/0.0.5.4/cactusMasonry.php (added)
-
assets/versions/0.0.5.4/cactusMasonryGettingStarted.php (added)
-
assets/versions/0.0.5.4/cactusMasonryPlus.js (added)
-
assets/versions/0.0.5.4/cactusMasonryPlus.min.js (added)
-
assets/versions/0.0.5.4/license.txt (added)
-
assets/versions/0.0.5.4/readme.txt (added)
-
assets/versions/0.0.5.4/style.css (added)
-
assets/versions/0.0.5.4/style.scss (added)
-
assets/zips/0.0.5.4.zip (added)
-
trunk/cactusMasonry.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cactus-masonry-plus/trunk/cactusMasonry.php
r1479848 r1492870 2 2 /** 3 3 * @package Cactus Masonry Plus 4 * @version 0.0.5. 34 * @version 0.0.5.4 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. 310 * Version: 0.0.5.4 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. 3";34 private static $VERSION = "0.0.5.4"; 35 35 36 36 static public function init() { … … 93 93 'showtitle' => false, 94 94 'showcategory' => false, 95 'showexcerpt' => false, 95 96 96 97 //Author Metadata … … 284 285 else if($thumb != false && ($linkaction == "full" || $linkaction == "large" || $linkaction == "medium" || $linkaction == "thumbnail")) $o .= "b.url = \"" . wp_get_attachment_image_src($tId, $linkaction)[0] . "\";"; 285 286 //Add meta data 286 if(self::$a['showtitle']) $o .= "b.title = \"" . htmlspecialchars(get_the_title()) . "\";";287 if(self::$a['showtitle']) $o .= "b.title = \"" . get_the_title() . "\";"; 287 288 if(self::$a['showcategory']) { 288 289 $cats = get_the_category(); … … 295 296 } 296 297 } 298 if(self::$a['showexcerpt']) $o .= "b.excerpt = \"" . wp_trim_excerpt() . "\";"; 299 297 300 if(self::$a['showauthor']) { 298 301 $auth = get_the_author_meta('user_nicename'); 299 $o .= "b.author = \"" . htmlspecialchars($auth). "\";";302 $o .= "b.author = \"" . $auth . "\";"; 300 303 if(self::$a['showauthoraslink']) $o .= "b.authorUrl = \"" . get_author_posts_url(get_the_author_meta("ID"), $auth) . "\";"; 301 304 } 302 305 if(self::$a['showdate']) { 303 if(self::$a['dateformat'] == "") $o .= "b.date = \"" . htmlspecialchars(get_the_date()) . "\";";304 else $o .= "b.date = \"" . htmlspecialchars(get_the_date(self::$a['dateformat'])) . "\";";306 if(self::$a['dateformat'] == "") $o .= "b.date = \"" . get_the_date() . "\";"; 307 else $o .= "b.date = \"" . get_the_date(self::$a['dateformat']) . "\";"; 305 308 } 306 309 //Load or lazy load gallery brick -
cactus-masonry-plus/trunk/readme.txt
r1479848 r1492870 5 5 Requires at least: 4.4.2 6 6 Tested up to: 4.6 7 Stable tag: 0.0.5. 37 Stable tag: 0.0.5.4 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.4 = 33 * Fixed an issue with html character replacing in post titles 34 32 35 = 0.0.5.3 = 33 36 * Fixed the links in the readme file … … 112 115 113 116 == Upgrade Notice == 117 = 0.0.5.4 = 118 * Removed htmlspecialchars from the post titles 119 114 120 = 0.0.3.0 = 115 121 * Warning: This update contains a major revision to the layout and styling engine.
Note: See TracChangeset
for help on using the changeset viewer.