Ticket #22072: 22072.diff
| File 22072.diff, 753 bytes (added by , 14 years ago) |
|---|
-
wp-includes/link-template.php
1214 1214 return; 1215 1215 1216 1216 if ( empty($post->post_title) ) 1217 $post->post_title = $previous ? __('Previous Post') : __('Next Post'); 1217 $the_title = $previous ? __('Previous Post') : __('Next Post'); 1218 else 1219 $the_title = $post->post_title; 1218 1220 1219 1221 $date = mysql2date(get_option('date_format'), $post->post_date); 1220 1222 1221 $title = str_replace('%title', $ post->post_title, $title);1223 $title = str_replace('%title', $the_title, $title); 1222 1224 $title = str_replace('%date', $date, $title); 1223 1225 $title = apply_filters('the_title', $title, $post->ID); 1224 1226