Changeset 11013 for trunk/wp-includes/link-template.php
- Timestamp:
- 04/20/2009 06:18:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r10983 r11013 935 935 936 936 $date = mysql2date(get_option('date_format'), $post->post_date); 937 937 938 938 $title = str_replace('%title', $post->post_title, $title); 939 939 $title = str_replace('%date', $date, $title); … … 1051 1051 function get_boundary_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '', $start = true) { 1052 1052 $posts = get_boundary_post($in_same_cat,$excluded_categories,$start); 1053 // Even though we limited get_posts to return only 1 item it still returns an array of objects. 1054 $post = $posts[0]; 1053 // Even though we limited get_posts to return only 1 item it still returns an array of objects. 1054 $post = $posts[0]; 1055 1055 1056 1056 if ( empty($post) ) … … 1105 1105 */ 1106 1106 function index_rel_link() { 1107 echo get_index_rel_link(); 1107 echo get_index_rel_link(); 1108 1108 } 1109 1109
Note: See TracChangeset
for help on using the changeset viewer.