Opened 14 years ago
Closed 14 years ago
#15150 closed defect (bug) (fixed)
numberposts default in get_posts is overriding posts_per_page argument
Reported by: | bobbyblade | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
In the get_posts function there is currently a bug where if you specify the posts_per_page argument it will be overridden due to the numberposts in the default argument set.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
post.php get_posts fix