Commit Graph

205 Commits

Author SHA1 Message Date
ryan 9bfccd6286 Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan 48b96208e2 Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
git-svn-id: http://svn.automattic.com/wordpress/trunk@6091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:53:27 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 02df4f722c Add class to tag cloud links. Props filosofo. fixes #4798
git-svn-id: http://svn.automattic.com/wordpress/trunk@5917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:28:00 +00:00
ryan b4cd7ba224 Add back compat to get_the_category. Props nbachiyski. fixes #4771
git-svn-id: http://svn.automattic.com/wordpress/trunk@5899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-18 17:21:51 +00:00
ryan 8b205f4e87 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@5872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 21:54:02 +00:00
ryan 951a41ad1e get_the_tag_list from andy. fixes #4733
git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:44:49 +00:00
ryan 2ae70d7c72 Update in_category() to use object term cache API. Props technosailor. fixes #4442
git-svn-id: http://svn.automattic.com/wordpress/trunk@5868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:01:26 +00:00
ryan c140ccb72d Fix variable name. Props bgracewood. fixes #4621
git-svn-id: http://svn.automattic.com/wordpress/trunk@5797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-12 16:00:51 +00:00
ryan e2dc2a8dd3 Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
rob1n 404e50bfb3 Show the name, not the slug. fixes #4473
git-svn-id: http://svn.automattic.com/wordpress/trunk@5715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 18:26:43 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
matt 81dd1f1737 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 00:16:33 +00:00
ryan a09031ecd0 Use get_term_children() and get_term_field(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:13:12 +00:00
ryan fbe9b4d76e Abstract object term cache a bit more. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 21:38:33 +00:00
ryan df1a8696d5 Some term caching. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 03:36:59 +00:00
markjaquith b0ffd98c95 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: http://svn.automattic.com/wordpress/trunk@5590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:54:45 +00:00
rob1n 0617eb51d0 Add rel="tag" to tag links. fixes #4159
git-svn-id: http://svn.automattic.com/wordpress/trunk@5568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 02:07:59 +00:00
rob1n 77a141151f Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 16:27:34 +00:00
ryan b00beb3027 Convert category queries and list cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:59:12 +00:00
ryan 0e05576999 Set and get post cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:07:53 +00:00
ryan 0b795ff92b Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 03:57:20 +00:00
rob1n e6c189902c Use wp_parse_args(). fixes #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
rob1n 24e1d66471 Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: http://svn.automattic.com/wordpress/trunk@5265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:20:14 +00:00
ryan 45f4a1870e Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: http://svn.automattic.com/wordpress/trunk@5235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 21:23:11 +00:00
ryan 77cdde3f87 Tag clouds from mdawaffe. fixes #4129
git-svn-id: http://svn.automattic.com/wordpress/trunk@5234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:52:15 +00:00
ryan 246db4315f s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:30:55 +00:00
ryan 9e6ab0a59d Relocate get_post_tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
ryan 142582999e Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:53:34 +00:00
matt c86599b85c Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 09:19:32 +00:00
matt 14f1c622ff All the query stuff we need for tag= URLs to work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 06:16:12 +00:00
matt cbe226d621 Basic theme support for tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 08:08:31 +00:00
ryan e9e3e0787d Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan 5b22739cac More int casts
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 20:52:29 +00:00
markjaquith 05486cce3d user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith 7438cb83d7 properly sort categories by name for the_category(). Props rob1n. fixes #1302
git-svn-id: http://svn.automattic.com/wordpress/trunk@4903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 02:13:47 +00:00
markjaquith dfeeedc8da Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 07:07:12 +00:00
markjaquith d5eaea2f32 Typo in [4790] caught by Znuff. fixes #3644
git-svn-id: http://svn.automattic.com/wordpress/trunk@4795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-24 05:44:24 +00:00
markjaquith b9490b45c2 Do not attempt to use rel-tag for URL schemes that do not support it. fixes #3265
git-svn-id: http://svn.automattic.com/wordpress/trunk@4790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 08:21:28 +00:00
ryan 9ec6d7e762 Check style. Props nickshanks. fixes #3610
git-svn-id: http://svn.automattic.com/wordpress/trunk@4774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 20:58:56 +00:00
ryan ad41aedae6 Add wp_list_categories filter. Props Mark Jaquith. fixes #3586
git-svn-id: http://svn.automattic.com/wordpress/trunk@4755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 22:50:30 +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
ryan ccacbf47cd Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
git-svn-id: http://svn.automattic.com/wordpress/trunk@4583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 23:00:04 +00:00
ryan aedf76aa2f Avoid empty result category queries. Props andy. fixes #3416
git-svn-id: http://svn.automattic.com/wordpress/trunk@4580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 18:55:27 +00:00
ryan 814a2b0c1c Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan c4a4ea83b1 Init vars before use. Props Alex King. fixes #3180
git-svn-id: http://svn.automattic.com/wordpress/trunk@4277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-03 15:41:44 +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 37d342ef03 Make the current cat the selected cat when doing a category query. fixes #1194
git-svn-id: http://svn.automattic.com/wordpress/trunk@4151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-31 21:36:21 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan 49e390d402 Use wp_list_categories() in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 00:05:00 +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