| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -defined( 'ABSPATH' ) or die; | |
| 3 | +defined('ABSPATH') or die; | |
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Prismatic override - https://wordpress.org/plugins/prismatic/ |
| 7 | 7 | * This plugin encodes all <code> tags in the content, resulting in escaped html. |
| @@ -8,12 +8,26 @@ | ||
| 8 | 8 | * https://plugins.trac.wordpress.org/browser/prismatic/trunk/inc/prismatic-core.php#L59 |
| 9 | 9 | * Will monitor that plugin periodically and remove this override if it is updated. |
| 10 | 10 | */ |
| 11 | 11 | if (!class_exists('Prismatic')) { |
| 12 | - class Prismatic { | |
| 13 | - static function options_general() {} | |
| 14 | - static function options_prism() {} | |
| 15 | - static function options_highlight() {} | |
| 16 | - static function options_plain() {} | |
| 12 | + class Prismatic | |
| 13 | + { | |
| 14 | + public static function options_general() | |
| 15 | + { | |
| 16 | + } | |
| 17 | + public static function options_advanced() | |
| 18 | + { | |
| 19 | + } | |
| 20 | + public static function options_prism() | |
| 21 | + { | |
| 22 | + } | |
| 23 | + public static function options_highlight() | |
| 24 | + { | |
| 25 | + } | |
| 26 | + public static function options_plain() | |
| 27 | + { | |
| 28 | + } | |
| 17 | 29 | } |
| 18 | - function prismatic() {} | |
| 30 | + function prismatic() | |
| 31 | + { | |
| 32 | + } | |
| 19 | 33 | } |