ryan
|
519cc6a295
|
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 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-02-10 21:49:30 +00:00 |
ryan
|
0b2f08609e
|
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 3.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2011-02-10 20:19:02 +00:00 |
ryan
|
587ea006b5
|
Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-21 17:17:58 +00:00 |
ryan
|
3949ce12d0
|
Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-13 21:21:50 +00:00 |
scribu
|
244ad8dd17
|
Re-index categories in get_the_category(). Props greuben. Fixes #15442
git-svn-id: http://svn.automattic.com/wordpress/trunk@16888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-12-12 20:32:29 +00:00 |
ryan
|
0b37bd0b6d
|
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: http://svn.automattic.com/wordpress/trunk@16487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-19 17:09:21 +00:00 |
ryan
|
7cb2ad6d3a
|
Return false if empty cat passed. Restores old behavior.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-19 05:06:48 +00:00 |
nacin
|
b8ce0261df
|
More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-18 19:12:48 +00:00 |
nacin
|
4beb3ab36e
|
get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-17 17:10:50 +00:00 |
nacin
|
d042642802
|
Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-16 00:19:51 +00:00 |
nacin
|
134adb6ec1
|
Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 15:32:20 +00:00 |
scribu
|
e56413ae33
|
Add 'get_the_terms' filter. Props filosofo. Fixes #15410
git-svn-id: http://svn.automattic.com/wordpress/trunk@16342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 14:08:27 +00:00 |
nacin
|
7b010efc77
|
Escape the class arg in wp_list_categories. props hakre, fixes #11514.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-13 11:06:26 +00:00 |
westi
|
435c4c2dbf
|
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 21:53:15 +00:00 |
scribu
|
98cda5bd65
|
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 20:05:37 +00:00 |
scribu
|
18116f12c6
|
Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 18:40:51 +00:00 |
nacin
|
1478fb89f1
|
Typo fix. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-12 07:04:34 +00:00 |
nacin
|
5f4a583fb1
|
Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-11 22:50:36 +00:00 |
ryan
|
7440948514
|
phpdoc fixes. Props hakre. fixes #12526
git-svn-id: http://svn.automattic.com/wordpress/trunk@16307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-11 17:02:14 +00:00 |
nacin
|
c3b6ef86ea
|
Confirm that the queried term object is of the requested taxonomy in wp_list_categories. fixes #15347.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-09 01:20:38 +00:00 |
scribu
|
4e97737cbc
|
Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313
git-svn-id: http://svn.automattic.com/wordpress/trunk@16180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-11-04 10:45:14 +00:00 |
scribu
|
e2efa78154
|
use get_queried_object() wrappers throughout. See #14015
git-svn-id: http://svn.automattic.com/wordpress/trunk@16114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-31 11:02:17 +00:00 |
nacin
|
588523f119
|
Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-30 14:06:08 +00:00 |
scribu
|
d71913bcce
|
Make $id arg optional in the_terms(). Fixes #15160
git-svn-id: http://svn.automattic.com/wordpress/trunk@15855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-19 22:46:26 +00:00 |
scribu
|
d73598ad4d
|
Correct dockblock for the_terms()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-19 22:41:34 +00:00 |
nacin
|
5e1184aa57
|
Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-19 07:48:22 +00:00 |
dd32
|
81924ad20b
|
Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-17 05:41:22 +00:00 |
ryan
|
0449fee5da
|
has_term(). Props ptahdunbar. fixes #12526
git-svn-id: http://svn.automattic.com/wordpress/trunk@15677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-10-01 17:44:53 +00:00 |
nacin
|
5a20c05d27
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 11:21:11 +00:00 |
dd32
|
a14d289755
|
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-30 00:05:18 +00:00 |
ryan
|
c614b6d0a2
|
Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-11 15:53:41 +00:00 |
ryan
|
3410a00cb6
|
Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
git-svn-id: http://svn.automattic.com/wordpress/trunk@15107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-06-02 14:02:54 +00:00 |
markjaquith
|
4ab768959d
|
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: http://svn.automattic.com/wordpress/trunk@14660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 09:59:15 +00:00 |
ryan
|
7b7243d94a
|
Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:26:11 +00:00 |
dd32
|
f12d55d8a4
|
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: http://svn.automattic.com/wordpress/trunk@13943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-02 07:30:20 +00:00 |
dd32
|
0e4aaa13d3
|
Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-28 02:07:31 +00:00 |
ryan
|
f607113b29
|
Don't return WP_Error from term_description(). Props filosofo. fixes #12707
git-svn-id: http://svn.automattic.com/wordpress/trunk@13813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-25 17:28:16 +00:00 |
nacin
|
3bdcf36888
|
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: http://svn.automattic.com/wordpress/trunk@13754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-18 20:17:15 +00:00 |
nacin
|
dc764e91cd
|
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: http://svn.automattic.com/wordpress/trunk@13553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-02 18:36:49 +00:00 |
ryan
|
dbfb51c6e0
|
Trim trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-21 00:03:42 +00:00 |
dd32
|
c9ea3a7686
|
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: http://svn.automattic.com/wordpress/trunk@13086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-13 05:40:47 +00:00 |
ryan
|
b1b44019ff
|
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-22 19:30:05 +00:00 |
ryan
|
58d3776667
|
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-11 19:27:44 +00:00 |
ryan
|
ec8e347792
|
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-04 17:23:29 +00:00 |
ryan
|
7a6685e8d8
|
get_the_term_list() phpdoc updates. Props filosofo. fixes #11116
git-svn-id: http://svn.automattic.com/wordpress/trunk@12319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-03 15:52:11 +00:00 |
markjaquith
|
66ce42a9f9
|
Do not use the unreliable in_the_loop() when grabbing terms. fixes #11189
git-svn-id: http://svn.automattic.com/wordpress/trunk@12224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-19 19:42:52 +00:00 |
westi
|
41099f6e33
|
Allow the separator in wp_tag_cloud and wp_generate_tag_cloud to be specified. Fixes #10315 props ramiy and filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-08 21:51:34 +00:00 |
westi
|
88dfeaca8a
|
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: http://svn.automattic.com/wordpress/trunk@12009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-08 17:05:32 +00:00 |
ryan
|
8fc7ea66af
|
Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870
git-svn-id: http://svn.automattic.com/wordpress/trunk@11981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-28 22:32:27 +00:00 |
markjaquith
|
6cf9ea65b4
|
Add a the_terms filter, and use a default ", " sep. props scribu. fixes #10600
git-svn-id: http://svn.automattic.com/wordpress/trunk@11900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-04 08:47:36 +00:00 |