Commit Graph

62 Commits

Author SHA1 Message Date
Ryan Boren 2bdfce3c20 cat_is_ancestor_of(). fixes #3387
git-svn-id: https://develop.svn.wordpress.org/trunk@4525 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 16:37:44 +00:00
Matt Mullenweg f5a9979852 Caching for get_categories
git-svn-id: https://develop.svn.wordpress.org/trunk@4519 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 16:52:42 +00:00
Ryan Boren 3c348108f8 Warning and notice fixes from Alex King. fixes #3148
git-svn-id: https://develop.svn.wordpress.org/trunk@4198 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 23:56:28 +00:00
Ryan Boren d51b58448f Avoid infinite loop when category_parent equals cat_ID
git-svn-id: https://develop.svn.wordpress.org/trunk@4173 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 17:42:24 +00:00
Ryan Boren a313da93d7 Update category counts to include children. Don't hide empty parent cats that have non-empty children. Props skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@4104 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-17 04:46:16 +00:00
Ryan Boren 0e64623351 Kill unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@4040 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-24 18:26:13 +00:00
Ryan Boren c64dd2df81 Use AND instead of HAVING. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@4039 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-24 18:24:56 +00:00
Ryan Boren 967b1a18ba Allow limiting the number of cats to fetch.
git-svn-id: https://develop.svn.wordpress.org/trunk@4015 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 18:15:24 +00:00
Ryan Boren 7337c5bbc0 Allow ordering by count.
git-svn-id: https://develop.svn.wordpress.org/trunk@4014 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 18:01:53 +00:00
Ryan Boren 9b1204792a Pass arg array to get_categories filters. Props ryanscheuermann. fixes #2934
git-svn-id: https://develop.svn.wordpress.org/trunk@4013 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 03:33:25 +00:00
Ryan Boren d120bbcfff get_category filter form majelbstoat. fixes #2466
git-svn-id: https://develop.svn.wordpress.org/trunk@4007 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-10 16:11:43 +00:00
Ryan Boren 58ed7bdc3b Reorg category functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3843 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 21:36:52 +00:00