Skip to content

Commit 736f10a

Browse files
committed
Remove unneeded parameter
1 parent fedfd0c commit 736f10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxhighlighter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ function shortcode_hack( $content, $callback, $ignore_html = true ) {
673673
add_shortcode( $shortcode_tagname, array( $this, 'return_entire_shortcode_callback' ) );
674674
}
675675

676-
$regex = '/' . get_shortcode_regex( array_merge( $this->shortcodes, array_keys( $orig_shortcode_tags ) ) ) . '/';
676+
$regex = '/' . get_shortcode_regex() . '/';
677677

678678
// Parse the shortcodes (only this plugins's are registered)
679679
if ( $ignore_html ) {

0 commit comments

Comments
 (0)