remove obsoleted part of code
This commit is contained in:
parent
f32e9d7fdd
commit
fbed282ae1
|
@ -226,13 +226,6 @@ class Discordian_Date_Widget extends WP_Widget {
|
|||
$title = $instance['title'];
|
||||
$body = apply_filters('widget_text', $instance['body']);
|
||||
|
||||
if (!empty($title)) {
|
||||
ob_start();
|
||||
eval(" ?>$title<?php ");
|
||||
$title2 = ob_get_contents();
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
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 get_ddate($content, $format, "now").".";
|
||||
|
|
Loading…
Reference in New Issue