Commit Graph

67 Commits

Author SHA1 Message Date
Ryan Boren 827a32de28 Cast to array to avoid warning. fixes #3556
git-svn-id: https://develop.svn.wordpress.org/trunk@4716 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-10 20:42:17 +00:00
Ryan Boren 9fb0fa48fb Hierarchical category count fixes from andy. fixes #2738
git-svn-id: https://develop.svn.wordpress.org/trunk@4707 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 08:45:05 +00:00
Mark Jaquith d4c163f52b Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: https://develop.svn.wordpress.org/trunk@4634 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-09 06:35:22 +00:00
Ryan Boren bc386e1784 Check link_count not category_count when doing link hierarchy. Props mdawaffe. fixes #3453
git-svn-id: https://develop.svn.wordpress.org/trunk@4627 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 22:38:27 +00:00
Ryan Boren 15600c640e Caching fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4528 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 20:44:03 +00:00
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