Changeset 813431
- Timestamp:
- 12/02/2013 01:51:53 AM (12 years ago)
- Location:
- genesis-easy-columns/trunk
- Files:
-
- 2 edited
-
includes/shortcodes.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
genesis-easy-columns/trunk/includes/shortcodes.php
r740142 r813431 1 1 <?php 2 2 3 //Turn editor auto format off 3 remove_filter( 'the_content', 'wpautop' ); 4 $wpautop_on = has_filter('the_content', 'wpautop'); 5 if ($wpautop_on) { 6 remove_filter( 'the_content', 'wpautop' ); 7 } 4 8 5 9 //Column Shortcodes … … 67 71 68 72 //Turn auto format back on 69 add_filter( 'the_content', 'wpautop' , 12); 73 if ($wpautop_on) { 74 add_filter( 'the_content', 'wpautop', (is_int($wpautop_on) ? $wpautop_on : 10)); 75 } -
genesis-easy-columns/trunk/readme.txt
r740142 r813431 45 45 == Changelog == 46 46 47 = 1.3 = 48 Fixed bug that was adding <p> tags and line breaks to forms. 49 47 50 = 1.2 = 48 51 Allows nested shortcodes
Note: See TracChangeset
for help on using the changeset viewer.