Opened 16 years ago
Closed 16 years ago
#15150 closed defect (bug) (fixed)
numberposts default in get_posts is overriding posts_per_page argument
| Reported by: | bobbyblade | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
post.php get_posts fix