php warning fix

"PHP Warning:  Missing argument 2" fix in 259 and 262 strings
This commit is contained in:
ivan 2019-08-04 22:00:05 +00:00
parent e817a39bd0
commit 9bd12fb4d3
1 changed files with 2 additions and 2 deletions

View File

@ -256,10 +256,10 @@ class Discordian_Date_Widget extends WP_Widget {
}
}
function get_the_ddate_post($content, $format) {
function get_the_ddate_post($content, $format = null) {
return get_ddate($content, $format, "get_the_date"); }
function get_the_ddate_comment($content, $format) {
function get_the_ddate_comment($content, $format = null) {
return get_ddate($content, $format, "get_comment_date"); }
function register_ddatefunc_widget() {