wp_get_archives and 3.0
-
I had a simple archives page set up pre-3.0 that worked well. It had:
<?php wp_get_archives('type=postbypost'); ?>
Post-upgrade, the function no longer returns anything and in fact stops the execution of the page. However, if I replace it with
<?php wp_get_archives('type=postbypost&limit=50'); ?>
It prints out just fine. If I put a large number like 5000, it fails again. Why doesn’t the default limit of “all” no longer work? I would like to use the “all” option because the number of posts increases fairly quickly over time.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘wp_get_archives and 3.0’ is closed to new replies.