Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when viewing paged day archive. #36

Open
sachyya opened this issue Nov 10, 2017 · 0 comments
Open

Warning when viewing paged day archive. #36

sachyya opened this issue Nov 10, 2017 · 0 comments
Labels

Comments

@sachyya
Copy link

sachyya commented Nov 10, 2017

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 );

@sachyya sachyya changed the title Warning when viewed paged day archive. Warning when viewing paged day archive. Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants