Commit Graph

194 Commits

Author SHA1 Message Date
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Matt Mullenweg 526eac00b8 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: https://develop.svn.wordpress.org/trunk@5693 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 00:16:33 +00:00
Ryan Boren e1ef29586c Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:13:12 +00:00
Ryan Boren 0b91f4aaca Abstract object term cache a bit more. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5616 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 21:38:33 +00:00
Ryan Boren 5a8598cd15 Some term caching. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5598 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 03:36:59 +00:00
Mark Jaquith 1a08c04371 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: https://develop.svn.wordpress.org/trunk@5590 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:54:45 +00:00
rob1n 6e0db32ccc Add rel="tag" to tag links. fixes #4159
git-svn-id: https://develop.svn.wordpress.org/trunk@5568 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 02:07:59 +00:00
rob1n a030294e1d Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5549 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 16:27:34 +00:00
Ryan Boren 3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +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 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
rob1n 9548071ffa Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: https://develop.svn.wordpress.org/trunk@5265 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:20:14 +00:00
Ryan Boren 513726b6c7 Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: https://develop.svn.wordpress.org/trunk@5235 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 21:23:11 +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 4f59c037ce s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5231 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:30:55 +00:00
Ryan Boren cfb13d7bcf Relocate get_post_tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5197 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 18:22:54 +00:00
Ryan Boren 214141d62a Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@5196 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:53:34 +00:00
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +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
Matt Mullenweg bfb4b8c091 Basic theme support for tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5111 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 08:08:31 +00:00
Ryan Boren d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 77559c20b4 More int casts
git-svn-id: https://develop.svn.wordpress.org/trunk@5082 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 20:52:29 +00:00
Mark Jaquith e2f9950018 user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Mark Jaquith abb1f0ce50 properly sort categories by name for the_category(). Props rob1n. fixes #1302
git-svn-id: https://develop.svn.wordpress.org/trunk@4903 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-21 02:13:47 +00:00
Mark Jaquith 5164d38cb5 Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: https://develop.svn.wordpress.org/trunk@4886 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 07:07:12 +00:00
Mark Jaquith a6a04bb76f Typo in [4790] caught by Znuff. fixes #3644
git-svn-id: https://develop.svn.wordpress.org/trunk@4795 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-24 05:44:24 +00:00
Mark Jaquith 35e2f47f5f Do not attempt to use rel-tag for URL schemes that do not support it. fixes #3265
git-svn-id: https://develop.svn.wordpress.org/trunk@4790 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-23 08:21:28 +00:00
Ryan Boren e842aa31f7 Check style. Props nickshanks. fixes #3610
git-svn-id: https://develop.svn.wordpress.org/trunk@4774 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-19 20:58:56 +00:00
Ryan Boren ebc82b1be2 Add wp_list_categories filter. Props Mark Jaquith. fixes #3586
git-svn-id: https://develop.svn.wordpress.org/trunk@4755 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 22:50:30 +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
Ryan Boren f906c003c6 Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: https://develop.svn.wordpress.org/trunk@4583 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 23:00:04 +00:00
Ryan Boren 7b8f7aedc1 Avoid empty result category queries. Props andy. fixes #3416
git-svn-id: https://develop.svn.wordpress.org/trunk@4580 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 18:55:27 +00:00
Ryan Boren f74d084276 Key caches by blog ID for those doing the multi blog trick.
git-svn-id: https://develop.svn.wordpress.org/trunk@4524 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 20:39:39 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren fa4a39b0c7 Init vars before use. Props Alex King. fixes #3180
git-svn-id: https://develop.svn.wordpress.org/trunk@4277 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:41:44 +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 696f300b47 Make the current cat the selected cat when doing a category query. fixes #1194
git-svn-id: https://develop.svn.wordpress.org/trunk@4151 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-31 21:36:21 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 4653173525 Use wp_list_categories() in templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@3881 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-17 00:05:00 +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