php warning fix
"PHP Warning: Missing argument 2" fix in 259 and 262 strings
This commit is contained in:
parent
e817a39bd0
commit
9bd12fb4d3
|
@ -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"); }
|
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"); }
|
return get_ddate($content, $format, "get_comment_date"); }
|
||||||
|
|
||||||
function register_ddatefunc_widget() {
|
function register_ddatefunc_widget() {
|
||||||
|
|
Loading…
Reference in New Issue