remove obsoleted part of code

This commit is contained in:
ivan 2020-03-01 15:24:45 +03:00
parent f32e9d7fdd
commit fbed282ae1
1 changed files with 0 additions and 7 deletions

View File

@ -226,13 +226,6 @@ class Discordian_Date_Widget extends WP_Widget {
$title = $instance['title']; $title = $instance['title'];
$body = apply_filters('widget_text', $instance['body']); $body = apply_filters('widget_text', $instance['body']);
if (!empty($title)) {
ob_start();
eval(" ?>$title<?php ");
$title2 = ob_get_contents();
ob_end_clean();
}
ob_start(); ob_start();
echo "<div class=\"discordian_date_func\" style=\"width:100%;text-align:center;font-size:18px;line-height:36px;padding-top:40px;padding-bottom:40px;\"> Today is "; echo "<div class=\"discordian_date_func\" style=\"width:100%;text-align:center;font-size:18px;line-height:36px;padding-top:40px;padding-bottom:40px;\"> Today is ";
echo get_ddate($content, $format, "now")."."; echo get_ddate($content, $format, "now").".";