PluginProbe
WP Ultimate Post Grid / 1.6
WP Ultimate Post Grid v1.6
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | vendor/vafpress/classes/util/text.php +4 -3 2.7.01.6 View file →
@@ -4,14 +4,15 @@
4 4 {
5 5
6 6 public static function parse_md($text)
7 7 {
8 - if(!class_exists('Parsedown'))
8 + if(!function_exists('Markdown'))
9 9 {
10 - $path = VP_FileSystem::instance()->resolve_path('includes', 'parsedown');
10 + $path = VP_FileSystem::instance()->resolve_path('includes', 'markdown/parser');
11 11 require $path;
12 + // require VP_INCLUDE_DIR . '/markdown/parser.php';
12 13 }
13 - return Parsedown::instance()->parse($text);
14 + return Markdown($text);
14 15 }
15 16
16 17 public static function make_opt($optArray)
17 18 {