Ryan Boren
|
8ff8013fe7
|
Populate post term relationship cache in get_the_terms(). Restores caching lost when we moved away from get_the_category(). see #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16487 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-19 17:09:21 +00:00 |
|
Ryan Boren
|
0d0edecd79
|
Return false if empty cat passed. Restores old behavior.
git-svn-id: https://develop.svn.wordpress.org/trunk@16478 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-19 05:06:48 +00:00 |
|
Andrew Nacin
|
ccea27cbe7
|
More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-18 19:12:48 +00:00 |
|
Andrew Nacin
|
b9b0431d29
|
get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: https://develop.svn.wordpress.org/trunk@16430 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-17 17:10:50 +00:00 |
|
Andrew Nacin
|
55f599d330
|
Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16395 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-16 00:19:51 +00:00 |
|
Andrew Nacin
|
7f4e354bd1
|
Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16343 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 15:32:20 +00:00 |
|
scribu
|
a2dfe18dfd
|
Add 'get_the_terms' filter. Props filosofo. Fixes #15410
git-svn-id: https://develop.svn.wordpress.org/trunk@16342 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 14:08:27 +00:00 |
|
Andrew Nacin
|
958d135e11
|
Escape the class arg in wp_list_categories. props hakre, fixes #11514.
git-svn-id: https://develop.svn.wordpress.org/trunk@16341 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 11:06:26 +00:00 |
|
Peter Westwood
|
b08df21c26
|
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-12 21:53:15 +00:00 |
|
scribu
|
11f20d737c
|
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-12 20:05:37 +00:00 |
|
scribu
|
9f86bb7104
|
Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: https://develop.svn.wordpress.org/trunk@16331 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-12 18:40:51 +00:00 |
|
Andrew Nacin
|
f3a332a13c
|
Typo fix. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16317 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-12 07:04:34 +00:00 |
|
Andrew Nacin
|
d8c91db1f4
|
Remove more create_function calls. props huichen, see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-11 22:50:36 +00:00 |
|
Ryan Boren
|
06513139e7
|
phpdoc fixes. Props hakre. fixes #12526
git-svn-id: https://develop.svn.wordpress.org/trunk@16307 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-11 17:02:14 +00:00 |
|
Andrew Nacin
|
07522b17d1
|
Confirm that the queried term object is of the requested taxonomy in wp_list_categories. fixes #15347.
git-svn-id: https://develop.svn.wordpress.org/trunk@16250 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-09 01:20:38 +00:00 |
|
scribu
|
ef025261e7
|
Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313
git-svn-id: https://develop.svn.wordpress.org/trunk@16180 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-04 10:45:14 +00:00 |
|
scribu
|
b4988b968b
|
use get_queried_object() wrappers throughout. See #14015
git-svn-id: https://develop.svn.wordpress.org/trunk@16114 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-31 11:02:17 +00:00 |
|
Andrew Nacin
|
f9c7ac66ec
|
Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16100 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-30 14:06:08 +00:00 |
|
scribu
|
5242abafb1
|
Make $id arg optional in the_terms(). Fixes #15160
git-svn-id: https://develop.svn.wordpress.org/trunk@15855 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 22:46:26 +00:00 |
|
scribu
|
3b3a5e8461
|
Correct dockblock for the_terms()
git-svn-id: https://develop.svn.wordpress.org/trunk@15854 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 22:41:34 +00:00 |
|
Andrew Nacin
|
fb4e38b0e7
|
Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-19 07:48:22 +00:00 |
|
Dion Hulse
|
d7b230ca26
|
Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15825 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-17 05:41:22 +00:00 |
|
Ryan Boren
|
0cfb13ac25
|
has_term(). Props ptahdunbar. fixes #12526
git-svn-id: https://develop.svn.wordpress.org/trunk@15677 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-01 17:44:53 +00:00 |
|
Andrew Nacin
|
9494e4ce7e
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 11:21:11 +00:00 |
|
Dion Hulse
|
7efc4efdaa
|
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-30 00:05:18 +00:00 |
|
Ryan Boren
|
fc2793bd46
|
Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-11 15:53:41 +00:00 |
|
Ryan Boren
|
cf4521e441
|
Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
git-svn-id: https://develop.svn.wordpress.org/trunk@15107 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-02 14:02:54 +00:00 |
|
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 |
|