diff --git a/ddatefunc.php b/ddatefunc.php index c8b146b..d9d0a11 100644 --- a/ddatefunc.php +++ b/ddatefunc.php @@ -3,7 +3,7 @@ Plugin Name: Discordian Date Function Plugin URI: https://is3.ussr.win/discordian-date-function Description: Convert dates in Wordpress to customizable Discordian dates and time (decimal). Also, this plugin provides shortcode and widget used to display the current erisian date with notification of 70 holidays. Based on the Discordian Date plugin by Dan Johnson. -Version: 3.5 +Version: 3.5.2 Author: ivan zlax Author URI: https://is3.ussr.win/about */ @@ -563,8 +563,10 @@ if (get_option('ddatefunc_change')) { } if (get_option('dtimefunc_change')) { - add_filter('get_the_time','get_the_dtime_post'); - add_filter('get_comment_time','get_the_dtime_comment'); + if (!is_admin()) { + add_filter('get_the_time','get_the_dtime_post'); + add_filter('get_comment_time','get_the_dtime_comment'); + } } if (get_option('dtime_widget')) diff --git a/readme.txt b/readme.txt index 8a5da45..5e24540 100644 --- a/readme.txt +++ b/readme.txt @@ -41,6 +41,11 @@ Feel free to ask any questions about this plugin at the [Discordian Date Functio == Changelog == += 3.5.2 = +*Release Date - 33th day of Chaos 3192* + +* Broken panel with decimal time fix + = 3.5 = *Release Date - 32th day of Chaos 3192*