Opened 21 years ago
Closed 20 years ago
#52 closed enhancement (fixed)
category & excludecategory arguments to get_posts() non-functional
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
get_posts() is an extremely handy function, but the 'category' argument hasn't been implemented yet. Also, an additional 'excludecategory' argument would make the function even more useful (for example, in excluding linklog entries from the main entry list or from a 'recent posts' list).
Attachments (2)
Change History (7)
#3
@
21 years ago
curious as to why this hasn't been copied into the wp source. it seems as if it's functional.
#4
@
21 years ago
added a patch that makes the 'category' parameter of get_posts work correctly.
Diff applies to functions.php,1.205
Note: See
TracTickets for help on using
tickets.
In retrospect, this might now have been the best place to post this. Please feel free to delete this report if that's the case.