Plugin Directory

Changeset 543991


Ignore:
Timestamp:
05/14/2012 08:05:31 AM (14 years ago)
Author:
CoenJacobs
Message:

Version bump to 0.6

Location:
smart-wysiwyg-blocks-of-content
Files:
10 added
4 edited

Legend:

Unmodified
Added
Removed
  • smart-wysiwyg-blocks-of-content/trunk/includes/class-swboc-front.php

    r511162 r543991  
    2929            $swboc_posts = get_posts( $args );
    3030       
     31            remove_filter( 'the_content', 'prepend_attachment' );
     32
    3133            foreach ( $swboc_posts as $post ) {
    3234                $content .= apply_filters( 'the_content', $post->post_content );
    3335            }
     36
     37            add_filter( 'the_content', 'prepend_attachment' );
    3438        }
    3539
  • smart-wysiwyg-blocks-of-content/trunk/includes/class-swboc-widget.php

    r511162 r543991  
    1414        $swboc_title = esc_attr( $instance[ 'title' ] );
    1515       
    16         echo $before_title . $swboc_title . $after_title;
     16        if ( ! empty( $swboc_title ) )
     17            echo $before_title . $swboc_title . $after_title;
    1718       
    1819        $args = array (
     
    2223       
    2324        $swboc_posts = get_posts( $args );
     25
     26        remove_filter( 'the_content', 'prepend_attachment' );
    2427       
    2528        foreach ( $swboc_posts as $post ) {
    2629            echo apply_filters( 'the_content', $post->post_content );
    2730        }
     31
     32        add_filter( 'the_content', 'prepend_attachment' );
    2833
    2934        echo $after_widget;
  • smart-wysiwyg-blocks-of-content/trunk/readme.txt

    r511165 r543991  
    44Tags: wysiwyg, widgets
    55Requires at least: 3.0
    6 Tested up to: 3.3.1
    7 Stable tag: 0.5.2
     6Tested up to: 3.4
     7Stable tag: 0.6
    88
    99Adds a custom post type that can be easily inserted at multiple spots, including widgets. Easy way to create WYSIWYG widgets.
     
    2929
    3030== Changelog ==
     31
     32= 0.6 =
     33* Do not show widget title if title is empty.
     34* Temporarely disable prepend_attachment filter to prevent strange output.
    3135
    3236= 0.5.2 =
  • smart-wysiwyg-blocks-of-content/trunk/smart-wysiwyg-blocks-of-content.php

    r511162 r543991  
    55Description: Adds a custom post type that can be easily inserted at multiple spots, including widgets. Easy way to create WYSIWYG widgets.
    66Author: Coen Jacobs
    7 Version: 0.5.2
     7Version: 0.6
    88Author URI: http://cnjcbs.com
    99*/
     
    1717}
    1818
    19 ?>
     19?>?>
Note: See TracChangeset for help on using the changeset viewer.