[wp-hackers] showposts/posts_per_page bug?

Mikel mikel at mahunneysfarm.com
Sun Dec 5 21:56:17 UTC 2010


I have recently found the same issue: numberposts or showposts both work where posts_per_page does not.

Codex describes get_posts as defaulting to 5 posts returned, which is not intuitive.  With no limit defined, expected result was that get_posts would return all posts matching the specified criteria.

Regards,


Mikel


More information about the wp-hackers mailing list