Forum Replies Created

Viewing 1 replies (of 1 total)
  • ==============================
    ~~~~ SOLVED ~~~~
    ==============================

    pazis, solved the error issue.
    It’s a great plugin.

    Replace or comment out // Line 56 on the “class-shortcodespro-base.php” file and add the replacement code.

    ~~~~~~ File Location:

    wp-content > plugins > shortcodes-pro > inc > class-shortcodespro-base.php

    $pattern = '~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\do\n]* )\[\/do\]~';

    Ex. Here’s what I did….

    // normal shortcode/no nesting
    			//$pattern = '~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\d\o\n]* )\[\/do\]~';
    			$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)