Changeset 22095
- Timestamp:
- 10/01/2012 09:56:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r21948 r22095 1215 1215 1216 1216 if ( empty($post->post_title) ) 1217 $post->post_title = $previous ? __('Previous Post') : __('Next Post'); 1217 $post_title = $previous ? __('Previous Post') : __('Next Post'); 1218 else 1219 $post_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', $post_title, $title); 1222 1224 $title = str_replace('%date', $date, $title); 1223 1225 $title = apply_filters('the_title', $title, $post->ID);
Note: See TracChangeset
for help on using the changeset viewer.