Forum Replies Created

Viewing 1 replies (of 1 total)
  • On line 50 of inc/class-shortcodespro-base.php replace the following function (just tweaked the regexs slightly)

    function replace_do_shortcode( $content ) {
    			// short shortcode
    			$pattern = '~\[do action\=\"[^\"]*\"\s?[^\]]*?\]~';
    			$content =  preg_replace_callback( $pattern, array( &$this, 'replace_do_shortcode_callback' ), $content );
    			// return $content;
    
    			// normal shortcode/no nesting
    			$pattern = '~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\do\n]* )\[\/do\]~';
    			$content =  preg_replace_callback( $pattern, array( &$this, 'replace_do_shortcode_callback' ), $content );
    
    			return $content;
    		}
Viewing 1 replies (of 1 total)