Commit Graph

129 Commits

Author SHA1 Message Date
Ryan Boren 00c2f972e9 get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
git-svn-id: https://develop.svn.wordpress.org/trunk@12319 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-03 15:52:11 +00:00
Mark Jaquith fb2d04d68e Do not use the unreliable in_the_loop() when grabbing terms. fixes #11189
git-svn-id: https://develop.svn.wordpress.org/trunk@12224 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 19:42:52 +00:00
Peter Westwood 86fd35946f Allow the separator in wp_tag_cloud and wp_generate_tag_cloud to be specified. Fixes #10315 props ramiy and filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12014 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:51:34 +00:00
Peter Westwood 6f3714fa27 Remove rel='tag' on links in Tag Clouds as it is only for outbound links where the destination is a tag for the current page. Fixes #10897.
git-svn-id: https://develop.svn.wordpress.org/trunk@12009 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 17:05:32 +00:00
Ryan Boren d3d1c0c4b1 Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870
git-svn-id: https://develop.svn.wordpress.org/trunk@11981 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-28 22:32:27 +00:00
Mark Jaquith 367fdfe7f3 Add a the_terms filter, and use a default ", " sep. props scribu. fixes #10600
git-svn-id: https://develop.svn.wordpress.org/trunk@11900 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 08:47:36 +00:00
Andrew Ozz 97bef9ee66 Logarithmic scale for tag cloud, props kometbomb, fixes #10703
git-svn-id: https://develop.svn.wordpress.org/trunk@11894 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:06:11 +00:00
Ryan Boren f4f70a6479 Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Andrew Ozz 84162cad0b Fix wp_tag_cloud('order=RAND'), don't pre-sort if filter 'tag_cloud_sort' is used to sort the tags, props Joern_W, fixes #10393
git-svn-id: https://develop.svn.wordpress.org/trunk@11744 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-26 01:23:46 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Andrew Ozz 8017f27e5a Make get_terms() orderby case insensitive, props DD32, fixes #9906
git-svn-id: https://develop.svn.wordpress.org/trunk@11428 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:29:32 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Ryan Boren 3788f58c9e Revert [11263]. Busted several themes. see #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11324 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 04:09:01 +00:00
Ryan Boren ed05a1e8f8 Accept only IDs for get_term_link(). Prop filosofo. fixes #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11263 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 16:37:42 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren d4fc4496fd Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593
git-svn-id: https://develop.svn.wordpress.org/trunk@11158 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-02 18:43:04 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren c9b0e3b49a get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
git-svn-id: https://develop.svn.wordpress.org/trunk@11037 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 22:13:44 +00:00
Ryan Boren c600d21efa Add echo arg to tag cloud. Props DD32. fixes #5710
git-svn-id: https://develop.svn.wordpress.org/trunk@10946 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 17:32:06 +00:00
Andrew Ozz 10aaa00f62 Tag descriptions, props aaroncampbell, fixes #9381
git-svn-id: https://develop.svn.wordpress.org/trunk@10903 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-09 16:00:40 +00:00
Ryan Boren 91dc06e264 Invoke the_tags filter in the_tags(). Props scribu. fixes #9436
git-svn-id: https://develop.svn.wordpress.org/trunk@10888 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-07 23:54:16 +00:00
Ryan Boren 3548fa79f9 Deprecate get_category_children(). Props filosofo. fixes #9007
git-svn-id: https://develop.svn.wordpress.org/trunk@10703 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:53:17 +00:00
Andrew Ozz 90787e8823 Fix wp_tag_cloud 'RAND' when only one tag, props DD32, fixes #9214
git-svn-id: https://develop.svn.wordpress.org/trunk@10636 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 09:12:59 +00:00
Ryan Boren 34994fca8b Force term ID to be an int. Props filosofo. fixes #9193
git-svn-id: https://develop.svn.wordpress.org/trunk@10613 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 23:31:46 +00:00
Ryan Boren 854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Ryan Boren 0066076858 Add taxonomy argument to wp_tag_cloud()
git-svn-id: https://develop.svn.wordpress.org/trunk@10554 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 23:41:29 +00:00
Andrew Ozz 9eda5b7f06 Fix ASC/DESC tag ordering by count, props mrmist, fixes #8609 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10316 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-06 00:34:31 +00:00
Ryan Boren e7a5bb8295 Add exclude_tree for categories. Make exclude behave like exclude_tree when hierarchical to restore < 2.7 behavior. Props filosofo. fixes #8614 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10275 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 22:30:36 +00:00
Ryan Boren be55326e50 Allow overriding cat walker. Props AaronCampbell. fixes #8682 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10246 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-23 12:52:37 +00:00
Ryan Boren c5c0b4896f Fix selected for none and all. Props filosofo. fixes #8700 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10243 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-23 12:51:12 +00:00
Ryan Boren f083ebca6a Remove lines that are choking phpdoc
git-svn-id: https://develop.svn.wordpress.org/trunk@10192 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-11 22:20:54 +00:00
Ryan Boren 5d116156b3 Convert in_category() and has_tags() to use the same is_object_in_term(), which accepts one object, one taxonomy, and 0, 1 or multiple term term_ids/names/slugs.
In those functions, compare ints only to term_ids. Strings are compared to term_ids, names, slugs.

Document all three better, and note how they've changed with WP versions. Prop mdawaffe

git-svn-id: https://develop.svn.wordpress.org/trunk@10159 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 23:31:11 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 6a57390b1c Honor largest and smallest options when they are the same. Props scohoust. fixes #7504
git-svn-id: https://develop.svn.wordpress.org/trunk@9952 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-28 21:06:57 +00:00
Ryan Boren 30b38c9d39 Fix notice
git-svn-id: https://develop.svn.wordpress.org/trunk@9893 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 01:06:25 +00:00
Ryan Boren 351a57e3ba Update object term cache from get_the_category()
git-svn-id: https://develop.svn.wordpress.org/trunk@9885 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 22:12:36 +00:00
Peter Westwood 7015a56598 Ensure tag cloud topic(s) tooltips can be translated. Fixes #7989 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@9834 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 18:12:57 +00:00
Peter Westwood 68d0d5b2ba Improve code style.
git-svn-id: https://develop.svn.wordpress.org/trunk@9599 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 21:57:26 +00:00
Andrew Ozz 2dde47a9f2 Add "Choose from popular tags" to the tags postbox
git-svn-id: https://develop.svn.wordpress.org/trunk@9518 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 23:15:59 +00:00
Ryan Boren fa7377cd36 Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9475 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 20:53:15 +00:00
Ryan Boren cf28ff22d5 Add self parent check
git-svn-id: https://develop.svn.wordpress.org/trunk@9360 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-26 18:26:45 +00:00
Ryan Boren 5999f964e7 Introduce get_edit_tag_link() and add option to wp_tag_cloud() for showing edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@9340 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-25 18:19:42 +00:00
Ryan Boren 584088045a Fix in_category() when checking non-cached categories. fixes #7181
git-svn-id: https://develop.svn.wordpress.org/trunk@9289 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 21:31:55 +00:00
Peter Westwood 30591ea199 Pass on the $separator. Fixes #7005.
git-svn-id: https://develop.svn.wordpress.org/trunk@9190 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 21:02:07 +00:00
Andrew Ozz 87f32ab517 Complete inline documentation for category-template.php, props jacobsantos, fixes #5634
git-svn-id: https://develop.svn.wordpress.org/trunk@8975 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 14:16:27 +00:00
Ryan Boren 4fc2923bb4 Tag cloud fixes from DD32. Implements number arg. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8668 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 16:36:18 +00:00
Ryan Boren f104c612cb Revert tag cloud changes in 8540 and 8569. They broke tag sorting. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8666 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-18 23:40:41 +00:00
Mark Jaquith 0649bb45b1 Whitespacing/coding standards cleanup for category-template.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8574 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:01:46 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren f70269ff48 Fix tag cloud links. Props DD32. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8569 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 15:53:39 +00:00