Column Shortcodes - Version 0.6.8

Version Description

  • [Fixed] use wpautop() to wrap content in paragraphs when needed
Download this release

Release Info

Developer tschutter
Plugin Icon 128x128 Column Shortcodes
Version 0.6.8
Comparing to
See all releases

Code changes from version 0.6.7 to 0.6.8

Files changed (2) hide show
  1. column-shortcodes.php +4 -4
  2. readme.txt +4 -1
column-shortcodes.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: Column Shortcodes
5
- Version: 0.6.7
6
  Description: Adds shortcodes to easily create columns in your posts or pages
7
  Author: Codepress
8
  Author URI: http://www.codepresshq.com/
@@ -27,7 +27,7 @@ along with this program; if not, write to the Free Software
27
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
30
- define( 'CPSH_VERSION', '0.6.7' );
31
  define( 'CPSH_URL', plugins_url( '', __FILE__ ) );
32
  define( 'CPSH_TEXTDOMAIN', 'column-shortcodes' );
33
 
@@ -184,10 +184,10 @@ class Codepress_Column_Shortcodes {
184
  }
185
 
186
  // wraps the content in an extra div with padding applied
187
- $content = '<div style="' . esc_attr( $padding ) . '"><p>' . $content . '</p></div>';
188
  }
189
  else {
190
- $content = '<p>' . $content . '</p>';
191
  }
192
 
193
  // last class
2
 
3
  /*
4
  Plugin Name: Column Shortcodes
5
+ Version: 0.6.8
6
  Description: Adds shortcodes to easily create columns in your posts or pages
7
  Author: Codepress
8
  Author URI: http://www.codepresshq.com/
27
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
30
+ define( 'CPSH_VERSION', '0.6.8' );
31
  define( 'CPSH_URL', plugins_url( '', __FILE__ ) );
32
  define( 'CPSH_TEXTDOMAIN', 'column-shortcodes' );
33
 
184
  }
185
 
186
  // wraps the content in an extra div with padding applied
187
+ $content = '<div style="' . esc_attr( $padding ) . '">' . wpautop( $content ) . '</div>';
188
  }
189
  else {
190
+ $content = wpautop( $content );
191
  }
192
 
193
  // last class
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: columns, column, shortcodes, shortcode, divider, layout, posts, editor, wp-admin, admin, codepress, wordpress
5
  Requires at least: 3.1
6
  Tested up to: 4.6.1
7
- Stable tag: 0.6.7
8
 
9
  Adds shortcodes to easily create columns in your posts or pages.
10
 
@@ -259,6 +259,9 @@ You will find a .po file in the languages folder which you can use. You can send
259
 
260
  == Changelog ==
261
 
 
 
 
262
  = 0.6.7 =
263
  * [Fixed] Paragraphs are added to the columns
264
 
4
  Tags: columns, column, shortcodes, shortcode, divider, layout, posts, editor, wp-admin, admin, codepress, wordpress
5
  Requires at least: 3.1
6
  Tested up to: 4.6.1
7
+ Stable tag: 0.6.8
8
 
9
  Adds shortcodes to easily create columns in your posts or pages.
10
 
259
 
260
  == Changelog ==
261
 
262
+ = 0.6.8 =
263
+ * [Fixed] use wpautop() to wrap content in paragraphs when needed
264
+
265
  = 0.6.7 =
266
  * [Fixed] Paragraphs are added to the columns
267