Commit Graph

53 Commits

Author SHA1 Message Date
Ryan Boren
548903b49d Remove lingering bit of get_tags cache
git-svn-id: https://develop.svn.wordpress.org/trunk@6655 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 01:59:06 +00:00
Ryan Boren
9c01b969a2 Remove busted get_tags cache. get_terms does the caching for us. Props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@6651 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 01:19:53 +00:00
Ryan Boren
3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren
5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren
5bd5234f8d References don't work inside foreach in php4. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6071 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 19:37:00 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
963528d3cb get_tag() and get_tag_feed_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@6000 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-01 04:43:27 +00:00
Ryan Boren
c6cef97007 Add some filtering. Props jhodgdon. see #4516
git-svn-id: https://develop.svn.wordpress.org/trunk@5998 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 23:55:56 +00:00
Ryan Boren
a1b51966d7 Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: https://develop.svn.wordpress.org/trunk@5938 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 18:41:01 +00:00
Ryan Boren
ece120b57f Some tag api additions from andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@5912 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:39:45 +00:00
Ryan Boren
e83be1d2ca In your cats, making them back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5818 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-25 03:04:46 +00:00
Ryan Boren
ce17f71ccb Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5642 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-03 17:28:27 +00:00
Ryan Boren
55e37c4843 Fix slug queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5599 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 21:50:57 +00:00
Ryan Boren
7480586494 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5595 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 23:06:46 +00:00
Ryan Boren
cb8250ff30 Link category fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:21:04 +00:00
Ryan Boren
455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren
4c2cd543c1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5553 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 18:54:16 +00:00
Ryan Boren
9cee075e30 No more TAXONOMY bit fiels. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5534 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:11:02 +00:00
Ryan Boren
2b134cc1f7 Set and get post cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5529 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:07:53 +00:00
Ryan Boren
a0e6f06194 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5528 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 17:28:13 +00:00
Ryan Boren
4c2f2563a9 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5525 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 10:32:33 +00:00
Ryan Boren
0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
rob1n
c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
Ryan Boren
01dad3491e Fix variable collission in _get_cat_children. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5295 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-23 20:28:38 +00:00
Ryan Boren
d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
Ryan Boren
e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
Ryan Boren
b5bb5e3ee6 Add get_tags(). See #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5232 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:55:51 +00:00
Ryan Boren
c113ddaa1f Avoid php notices.
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 05:24:37 +00:00
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