diff --git a/functions.php b/functions.php index afec748c..a241db1b 100644 --- a/functions.php +++ b/functions.php @@ -30,8 +30,8 @@ function kratos_get_avatar( $avatar ) { */ function my_formatter($content) { $new_content = ''; - $pattern_full = '{(\[raw\].*?\[/raw\])}is'; - $pattern_contents = '{\[raw\](.*?)\[/raw\]}is'; + $pattern_full = '{(\[txt\].*?\[/txt\])}is'; + $pattern_contents = '{\[txt\](.*?)\[/txt\]}is'; $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($pieces as $piece) { if (preg_match($pattern_contents, $piece, $matches)) { diff --git a/inc/upgrade.json b/inc/upgrade.json new file mode 100644 index 00000000..0640a66c --- /dev/null +++ b/inc/upgrade.json @@ -0,0 +1,5 @@ +{ + "version": "2.6.4.0", + "details_url": "https://github.com/MilkiceForks/Kratos-M/releases/latest", + "download_url": "https://github.com/MilkiceForks/Kratos-M/archive/v2.6.4.0.zip" +}