Did next_post_link break in 2.6 ?
-
Hello –
Am working on updating from 2.3.3 to 2.6.1 — I noticed that the functionality of next_post_link() seems to have changed ….
If I use this code in 2.3.3:
<?php next_post_link('%link','Next Blog Post »',TRUE,'2') ?> <?php next_post_link('%link','Next Event »',TRUE,'1') ?>
It would generate either one link or the other (depending on the category I was in). In 2.6.1, however, it generates TWO links (seeming to ignore the “exclude” specification).
I have tested adding this code to an unfettered “default” theme under both 2.3.3 and 2.6.1 and in the former it works as expected, in the latter, it is broken. I check the codex but no mention of it being removed …
Anyone able to get this to work on 2.6.1 ? Is it just me ?
Thanks,
Damon
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Did next_post_link break in 2.6 ?’ is closed to new replies.