Ryan Boren
|
2fae1d05ee
|
Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610
git-svn-id: https://develop.svn.wordpress.org/trunk@19273 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-11-14 17:24:14 +00:00 |
Andrew Nacin
|
d9b37f77c8
|
Make the sort-by-object-property functions generic. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@18815 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-29 17:20:34 +00:00 |
Ryan Boren
|
9ad9ff1282
|
Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
git-svn-id: https://develop.svn.wordpress.org/trunk@18814 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-29 17:09:04 +00:00 |
Ryan Boren
|
6ca6c82d2b
|
Fix notice in wp_tag_cloud. Props greuben. fixes #17213
git-svn-id: https://develop.svn.wordpress.org/trunk@18326 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-22 19:37:05 +00:00 |
Andrew Nacin
|
a657a1986c
|
@since s/3.2/3.2.0/
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-11 04:40:18 +00:00 |
Ryan Boren
|
189a71cda7
|
Remove misleading phpdoc. Props mfields. fixes #17558
git-svn-id: https://develop.svn.wordpress.org/trunk@18081 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-31 15:54:48 +00:00 |
Ryan Boren
|
a57952b5c9
|
Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17443 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-10 21:48:40 +00:00 |
Ryan Boren
|
81a1787248
|
Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17437 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-10 20:17:54 +00:00 |
Ryan Boren
|
34ef8c8df9
|
Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-21 17:17:58 +00:00 |
Ryan Boren
|
6dc2d07bc4
|
Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 21:21:50 +00:00 |
scribu
|
b514837458
|
Re-index categories in get_the_category(). Props greuben. Fixes #15442
git-svn-id: https://develop.svn.wordpress.org/trunk@16888 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-12 20:32:29 +00:00 |
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 |