Skip to content

Commit 47a0dea

Browse files
author
Renatho De Carli Rosa
committed
Update variables to public to keep the same behavior
1 parent caa75c9 commit 47a0dea

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

syntaxhighlighter.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919

2020
class SyntaxHighlighter {
2121
// All of these variables are private. Filters are provided for things that can be modified.
22-
private $pluginver = '3.6.0'; // Plugin version
23-
private $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
24-
private $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
25-
private $settings = array(); // Contains the user's settings
26-
private $defaultsettings = array(); // Contains the default settings
27-
private $brushes = array(); // Array of aliases => brushes
28-
private $shortcodes = array(); // Array of shortcodes to use
29-
private $themes = array(); // Array of themes
30-
private $usedbrushes = array(); // Stores used brushes so we know what to output
31-
private $encoded = false; // Used to mark that a character encode took place
32-
private $codeformat = false; // If set, SyntaxHighlighter::get_code_format() will return this value
33-
private $content_save_pre_ran = false; // It's possible for the "content_save_pre" filter to run multiple times, so keep track
22+
public $pluginver = '3.6.0'; // Plugin version
23+
public $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
24+
public $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
25+
public $settings = array(); // Contains the user's settings
26+
public $defaultsettings = array(); // Contains the default settings
27+
public $brushes = array(); // Array of aliases => brushes
28+
public $shortcodes = array(); // Array of shortcodes to use
29+
public $themes = array(); // Array of themes
30+
public $usedbrushes = array(); // Stores used brushes so we know what to output
31+
public $encoded = false; // Used to mark that a character encode took place
32+
public $codeformat = false; // If set, SyntaxHighlighter::get_code_format() will return this value
33+
public $content_save_pre_ran = false; // It's possible for the "content_save_pre" filter to run multiple times, so keep track
3434

3535
// Initalize the plugin by registering the hooks
3636
function __construct() {

0 commit comments

Comments
 (0)