Mark Jaquith
45dec2e4e8
Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14660 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 09:59:15 +00:00
Ryan Boren
d783952469
Strip trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Dion Hulse
9b2113d8cd
Match the separator style of get_category_parents() in get_the_category_list(), Respects the spacing of the provided separator. Fixes #10761
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13943 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 07:30:20 +00:00
Dion Hulse
c23d49d135
Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13854 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:07:31 +00:00
Ryan Boren
450110f9f2
Don't return WP_Error from term_description(). Props filosofo. fixes #12707
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13813 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 17:28:16 +00:00
Andrew Nacin
21c4e3e30e
Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13754 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 20:17:15 +00:00
Andrew Nacin
ae7037d39b
Add id argument to wp_dropdown_users() and wp_dropdown_categories(). props johnbillion. Ensure we're escaping name and id in wp_dropdown_users(). fixes #12132
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13553 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:36:49 +00:00
Ryan Boren
f24e88359e
Trim trailing whites
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Dion Hulse
7a3a38c39b
Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13086 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:40:47 +00:00
Ryan Boren
e5a67cebd5
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren
c64564251a
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Ryan Boren
974b6c1ce4
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
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