This commit is contained in:
2026-02-02 10:49:57 +03:00
parent 21d5c0d3a3
commit cc50c54d41
2 changed files with 10 additions and 3 deletions

View File

@@ -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'))