Commit Graph

68 Commits

Author SHA1 Message Date
ryan 9b0816118a Use cache sets instead of adds. Props andy. fixes #3562
git-svn-id: http://svn.automattic.com/wordpress/trunk@4722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 22:34:18 +00:00
ryan cc281016ff Cast to array to avoid warning. fixes #3556
git-svn-id: http://svn.automattic.com/wordpress/trunk@4716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-10 20:42:17 +00:00
ryan 509a601439 Hierarchical category count fixes from andy. fixes #2738
git-svn-id: http://svn.automattic.com/wordpress/trunk@4707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 08:45:05 +00:00
markjaquith 49565cf608 Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: http://svn.automattic.com/wordpress/trunk@4634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-09 06:35:22 +00:00
ryan 60fdec501d Check link_count not category_count when doing link hierarchy. Props mdawaffe. fixes #3453
git-svn-id: http://svn.automattic.com/wordpress/trunk@4627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 22:38:27 +00:00
ryan 43fca5536b Caching fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 20:44:03 +00:00
ryan 889ff09208 cat_is_ancestor_of(). fixes #3387
git-svn-id: http://svn.automattic.com/wordpress/trunk@4525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:37:44 +00:00
matt e05b055337 Caching for get_categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@4519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 16:52:42 +00:00
ryan a40292bfb4 Warning and notice fixes from Alex King. fixes #3148
git-svn-id: http://svn.automattic.com/wordpress/trunk@4198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-19 23:56:28 +00:00
ryan b4ce019386 Avoid infinite loop when category_parent equals cat_ID
git-svn-id: http://svn.automattic.com/wordpress/trunk@4173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 17:42:24 +00:00
ryan f2ae26089d Update category counts to include children. Don't hide empty parent cats that have non-empty children. Props skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-17 04:46:16 +00:00
ryan d983ff8fda Kill unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-24 18:26:13 +00:00
ryan 8f699d20f7 Use AND instead of HAVING. #2604
git-svn-id: http://svn.automattic.com/wordpress/trunk@4039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-24 18:24:56 +00:00
ryan 05381daff8 Allow limiting the number of cats to fetch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 18:15:24 +00:00
ryan 0f70c12715 Allow ordering by count.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 18:01:53 +00:00
ryan 0ad0948a92 Pass arg array to get_categories filters. Props ryanscheuermann. fixes #2934
git-svn-id: http://svn.automattic.com/wordpress/trunk@4013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-11 03:33:25 +00:00
ryan 2a8de5229b get_category filter form majelbstoat. fixes #2466
git-svn-id: http://svn.automattic.com/wordpress/trunk@4007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-10 16:11:43 +00:00
ryan df5c967953 Reorg category functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-04 21:36:52 +00:00