diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 1dfcb66e8d..d01b96814c 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -650,8 +650,11 @@ function adjacent_post_link($format, $link, $in_same_cat = false, $excluded_cate $title = $previous ? __('Previous Post') : __('Next Post'); $title = apply_filters('the_title', $title, $post); + $date = mysql2date(get_option('date_format'), $post->post_date); + $string = ''; $link = str_replace('%title', $title, $link); + $link = str_replace('%date', $date, $link); $link = $string . $link . ''; $format = str_replace('%link', $link, $format);