We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be2acf9 commit fe4a342Copy full SHA for fe4a342
syntaxhighlighter.php
@@ -318,10 +318,12 @@ function output_shortcodes_for_tinymce() {
318
echo "</script>\n";
319
}
320
321
- // A filter function that exempts shortcodes from wptexturize()
+ // Adds this plugin's shortcodes to the list of shortcodes that wptexturize() shouldn't modify
322
function no_texturize_shortcodes( $exempted_shortcodes = array() ) {
323
- foreach ( $this->shortcodes as $shortcode )
+ foreach ( $this->shortcodes as $shortcode ) {
324
$exempted_shortcodes[] = $shortcode;
325
+ }
326
+
327
return $exempted_shortcodes;
328
329
0 commit comments