Plugin Directory

Changeset 1038597


Ignore:
Timestamp:
12/05/2014 03:27:03 AM (11 years ago)
Author:
bortpress
Message:

0.3.8.3b

A fix for a bug that occurs when certain characters exist in a post title or excerpt.

Location:
masonry-post-gallery
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • masonry-post-gallery/trunk/masonry-post-gallery.php

    r1037024 r1038597  
    22/**
    33 * @package Cactus Masonry
    4  * @version 0.3.8.2b
     4 * @version 0.3.8.3b
    55 */
    66/*
     
    88 * Plugin URI: http://cactuscomputers.com.au/masonry
    99 * Description: A highly customizable masonry styled gallery of post thumbnails.  Please refer to the <a href="http://cactuscomputers.com.au/masonry">plugin Home Page</a> for detailed instructions.
    10  * Version: 0.3.8.2b
     10 * Version: 0.3.8.3b
    1111 * Author: N. E - Cactus Computers
    1212 * Author URI: http://www.cactuscomputers.com.au/masonry
     
    2828    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    2929*/
    30 $CM_version = "0.3.8.2b";
     30$CM_version = "0.3.8.3b";
    3131$a = null;
    3232//Add Shortcode
     
    388388    global $post;
    389389    $output = "";
    390     $tit = trim(str_replace("'", "&#39;", get_post_field("post_title",($post->ID), "display")));
    391     $excerpt = trim(str_replace("'", "&#39;", get_post_field("post_excerpt",($post->ID), "display")));
     390    $tit = trim(wptexturize(get_post_field("post_title",($post->ID), "display")));
     391    $excerpt = trim(wptexturize(get_post_field("post_excerpt",($post->ID), "display")));
    392392    $show_databox = (($a['display_post_titles'] && strlen($tit) > 0) || ($a['display_post_excerpts'] && strlen($excerpt) > 0));
    393393    if(has_post_thumbnail())
  • masonry-post-gallery/trunk/readme.txt

    r1037100 r1038597  
    55Requires at least: 3.9.1
    66Tested up to: 4.0.1
    7 Stable tag: 0.3.8.2b
     7Stable tag: 0.3.8.3b
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6363
    6464== Changelog ==
     65
     66= 0.3.8.3b =
     67* A bug fix for an issue that stops posts with certain characters in their titles from appearing in the gallery.
    6568
    6669= 0.3.8.2b =
     
    245248== Upgrade Notice ==
    246249
     250= 0.3.8.3b =
     251Upgrade to fix a bug that occurs when certain characters exist in a post's title.
     252
    247253= 0.3.8.2b =
    248254Upgrade for some more robust default styling and documentation improvements.
     
    3383448. A gallery with the following shortcode: [cactus-masonry width='250px' horizontal_spacing='20' vertical_spacing='20']
    339345
    340 Check out the [Cactus Masonry Website](http://cactuscomputers.com.au/masonry) to see the plugin in action!
    341 
    342 
     346
     347
Note: See TracChangeset for help on using the changeset viewer.