From 3372ab5cb780ade6c5eca436339929f70703e187 Mon Sep 17 00:00:00 2001 From: kjodle Date: Thu, 3 Mar 2016 20:19:50 -0500 Subject: [PATCH] One bugfix; changed demo site link. --- d12-message-blocks.php | 11 +++++------ readme.txt | 16 +++++++++------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/d12-message-blocks.php b/d12-message-blocks.php index 75cf825..2fd5389 100644 --- a/d12-message-blocks.php +++ b/d12-message-blocks.php @@ -3,7 +3,7 @@ * Plugin Name: d12 Message Blocks * Plugin URI: http://kjodle.net/wordpress/d12-message-blocks/ * Description: Adds shortcodes for message blocks. - * Version: 2.1 + * Version: 2.2 * Author: Kenneth John Odle * Author URI: http://kjodle.net/ * Text Domain: d12-message-blocks @@ -174,10 +174,9 @@ function d12_part( $atts, $content= NULL) { 'series' => '', ), $atts ) ); - $filestring = '

' . - printf(__( 'This page is part of a series on %s', 'd12-message-blocks' ), $series ) - . '.

' . $content . '
'; - return $filestring; + echo '

'; + printf(__( 'This page is part of a series on %s', 'd12-message-blocks' ), $series ); + echo '.

' . $content . '
'; } add_shortcode( 'd12-part' , 'd12_part' ); @@ -359,4 +358,4 @@ function d12mb_register_buttons( $buttons ) { * * @since d12 Message Blocks 1.1 */ -require plugin_basename( 'plugin-options.php' ); \ No newline at end of file +require plugin_basename( 'plugin-options.php' ); diff --git a/readme.txt b/readme.txt index f03eea5..6bf6aa9 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: kjodle Tags: shortcodes, message blocks, posts, pages Donate link: http://kjodle.info/support Requires at least: 2.5 -Tested up to: 4.3.1 -Stable tag: 2.1 +Tested up to: 4.4.2 +Stable tag: 2.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl.html @@ -16,9 +16,7 @@ d12 Message Blocks makes it easy for you to highlight important information on y There are two types of message blocks. The first type provides a title and prompts you for the message block's content. The second type prompts you for both a title and the content. -Want to see it in action? Check out [my demo page](http://techblog.kjodle.net/2015/06/28/message-blocks-wordpress-plugin/). - -Want to check it out in different themes? Check out [my multi-theme demo page](http://waybeta.net/2015/07/d12-message-blocks-wordpress-plugin/). +Want to see it in action? Check out [my demo page](http://demo.kjodle.net/wordpress/plugins/d12-message-blocks/). Questions? Suggestions? Issues? Reach out to me on Twitter at [@kjodle](http://twitter.com/#!/kjodle) or [@iswpw](http://twitter.com/#!/iswpw), or in the plugin's [support forum](https://wordpress.org/support/plugin/d12-message-blocks). @@ -77,8 +75,12 @@ You can add any html you like in the popup window, and it will be passed to the == Changelog == += 2.2 = +* Fixed a bug with the "Part of a Series" message block +* Changed demo location to new plugin demo site + = 2.1 = -*Fixed an issue with some shortcodes appearing at the beginning of the post instead of where they were inserted in post. +* Fixed an issue with some shortcodes appearing at the beginning of the post instead of where they were inserted in post. = 2.0 = * Added an option page allowing users to select from 10 different border styles and 11 different color schemes. @@ -92,4 +94,4 @@ You can add any html you like in the popup window, and it will be passed to the == Upgrade Notice == = 2.0 = -You can now change color schemes or border styles from the plugin's options page. \ No newline at end of file +You can now change color schemes or border styles from the plugin's options page.