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
Peter Westwood
0d522c3898
Plugin Install GSOC project first code drop. Props DD32 see #6015 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
22635c32c2
Prevent category looping. Props tellyworth. fixes #7267
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8299 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 04:57:18 +00:00
Ryan Boren
ef48901e65
Don't replace spaces with nbsp. This breaks wrapping. Props MtDewVirus. fixes #7259
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8281 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 00:14:06 +00:00
Peter Westwood
27f6aaeb80
Add new has_tag() template tag. Fixes #6590 props Otto42.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8131 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 13:52:18 +00:00
Ryan Boren
007689ab77
[7064] introduces an extra query for each call to in_category(). Avoid the query if an int is passed.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7904 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-07 19:12:44 +00:00
Ryan Boren
a2e8b5bfd7
Add current_category option to wp_list_categories(). Props filosofo. fixes #6928
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7903 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-07 19:10:36 +00:00
Ryan Boren
f1d4f49057
Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7792 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-23 22:00:31 +00:00
Ryan Boren
1a62535f32
We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7729 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 21:21:13 +00:00
Ryan Boren
ec33c42302
Taxonomy links and template tags from andy. see #6357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren
d32e5b2e7c
in_category(): Return immediately if category is empty.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7505 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 20:39:05 +00:00
Peter Westwood
2494516420
Improve the tabindex's on the Write>Post page. Need to do the others too.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7472 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 09:14:49 +00:00
Ryan Boren
6d7441c26e
Remove trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Peter Westwood
fdb0fcbafe
A better in_category which supports category names that are all numbers.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7064 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 18:25:25 +00:00
Peter Westwood
025073bf5c
Support category names in in_category(). Fixes #4558 props robmil.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7030 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-25 22:18:41 +00:00
Ryan Boren
6a3e8797d1
Add optional post ID arg to the_category and get_the_category_list. Props filosofo. fixes #5050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6899 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:46:26 +00:00
Ryan Boren
4fa20e078a
Add RAND order option to wp_tag_cloud(). Props fitzrev. fixes #5726
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6824 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 19:12:46 +00:00