Add trestle_ prefix to shortcode.

This commit is contained in:
MickeyKay
2014-03-04 10:54:45 -08:00
parent 228e80b643
commit 6eb9b707c7
+2 -2
View File
@@ -12,7 +12,7 @@
===========================================*/
// Fix for empty <p> tags around shortcodes
function shortcode_empty_paragraph_fix($content)
function trestle_shortcode_empty_paragraph_fix($content)
{
$array = array (
'<p>[' => '[',
@@ -24,7 +24,7 @@ function shortcode_empty_paragraph_fix($content)
return $content;
}
add_filter('the_content', 'shortcode_empty_paragraph_fix');
add_filter('the_content', 'trestle_shortcode_empty_paragraph_fix');
/**
* Columns - [col class="one-half first no-list-margin"] Contents [/col]