Commit Graph

75 Commits

Author SHA1 Message Date
Ryan Boren 8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
Ryan Boren c81341f3ee Category listing speedups. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5179 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 22:32:24 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Matt Mullenweg 570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
Ryan Boren 51cd99bb02 More clean_url and int casts for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +00:00
Matt Mullenweg 505c0ad074 Don't show tags on the category page.
git-svn-id: https://develop.svn.wordpress.org/trunk@5112 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 17:25:15 +00:00
Mark Jaquith fd18faabf1 run get_categories filter on cached get_categories hits. fixes #3728
git-svn-id: https://develop.svn.wordpress.org/trunk@4848 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-31 05:57:54 +00:00
Ryan Boren b232f9b7c4 Use cache sets instead of adds. Props andy. fixes #3562
git-svn-id: https://develop.svn.wordpress.org/trunk@4722 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 22:34:18 +00:00
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