Open sachyya opened 6 years ago
Following are the issues: Warning: Missing argument 2 for get_day_link(), called in inc/breadcrumbs.php on line 798
Warning: Missing argument 3 for get_day_link(), called in inc/breadcrumbs.php on line 798
Closing brace is misplaced here.
Following code should be
$this->items[] = sprintf( '<a href="%s">%s</a>', esc_url( get_day_link( get_the_time( 'Y' ) ), get_the_time( 'm' ), get_the_time( 'd' ) ), $day );
should be
$this->items[] = sprintf( '<a href="%s">%s</a>', esc_url( get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ) ), $day );
Following are the issues: Warning: Missing argument 2 for get_day_link(), called in inc/breadcrumbs.php on line 798
Warning: Missing argument 3 for get_day_link(), called in inc/breadcrumbs.php on line 798
Closing brace is misplaced here.
Following code should be
$this->items[] = sprintf( '<a href="%s">%s</a>', esc_url( get_day_link( get_the_time( 'Y' ) ), get_the_time( 'm' ), get_the_time( 'd' ) ), $day );
should be
$this->items[] = sprintf( '<a href="%s">%s</a>', esc_url( get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ) ), $day );