Skip to content

Commit 1b11873

Browse files
author
Stefan van den Dungen Gronovius
committed
Release 0.6.8
1 parent 9998005 commit 1b11873

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

column-shortcodes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
Plugin Name: Column Shortcodes
5-
Version: 0.6.7
5+
Version: 0.6.8
66
Description: Adds shortcodes to easily create columns in your posts or pages
77
Author: Codepress
88
Author URI: http://www.codepresshq.com/
@@ -27,7 +27,7 @@
2727
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2828
*/
2929

30-
define( 'CPSH_VERSION', '0.6.7' );
30+
define( 'CPSH_VERSION', '0.6.8' );
3131
define( 'CPSH_URL', plugins_url( '', __FILE__ ) );
3232
define( 'CPSH_TEXTDOMAIN', 'column-shortcodes' );
3333

@@ -184,10 +184,10 @@ function columns( $atts, $content = null, $name = '' ) {
184184
}
185185

186186
// wraps the content in an extra div with padding applied
187-
$content = '<div style="' . esc_attr( $padding ) . '"><p>' . $content . '</p></div>';
187+
$content = '<div style="' . esc_attr( $padding ) . '">' . wpautop( $content ) . '</div>';
188188
}
189189
else {
190-
$content = '<p>' . $content . '</p>';
190+
$content = wpautop( $content );
191191
}
192192

193193
// last class

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
44
Tags: columns, column, shortcodes, shortcode, divider, layout, posts, editor, wp-admin, admin, codepress, wordpress
55
Requires at least: 3.1
66
Tested up to: 4.6.1
7-
Stable tag: 0.6.7
7+
Stable tag: 0.6.8
88

99
Adds shortcodes to easily create columns in your posts or pages.
1010

@@ -259,6 +259,9 @@ You will find a .po file in the languages folder which you can use. You can send
259259

260260
== Changelog ==
261261

262+
= 0.6.8 =
263+
* [Fixed] use wpautop() to wrap content in paragraphs when needed
264+
262265
= 0.6.7 =
263266
* [Fixed] Paragraphs are added to the columns
264267

0 commit comments

Comments
 (0)