Ticket #22406: 22406.patch
| File 22406.patch, 1.6 KB (added by , 14 years ago) |
|---|
-
wp-includes/link-template.php
1246 1246 * @param array|string $excluded_categories Optional. Array or comma-separated list of excluded category IDs. 1247 1247 */ 1248 1248 function adjacent_posts_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') { 1249 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories = '', true);1250 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories = '', false);1249 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories, true); 1250 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories, false); 1251 1251 } 1252 1252 1253 1253 /** … … 1273 1273 * @param array|string $excluded_categories Optional. Array or comma-separated list of excluded category IDs. 1274 1274 */ 1275 1275 function next_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') { 1276 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories = '', false);1276 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories, false); 1277 1277 } 1278 1278 1279 1279 /** … … 1286 1286 * @param array|string $excluded_categories Optional. Array or comma-separated list of excluded category IDs. 1287 1287 */ 1288 1288 function prev_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') { 1289 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories = '', true);1289 echo get_adjacent_post_rel_link($title, $in_same_cat, $excluded_categories, true); 1290 1290 } 1291 1291 1292 1292 /**