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.
- The topic ‘wp_get_archives and 3.0’ is closed to new replies.