duck_
65b840b565
Fix mistakes in parameter documentation and add some missing param docs. See #19756 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-06 18:31:43 +00:00
ryan
616c35e71c
One newline is enough.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
ryan
fd1393ab7a
Clear strict notices for the walkers. fixes #19249
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 23:03:46 +00:00
ryan
bcc6275b3a
Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 17:24:14 +00:00
nacin
008beac918
Make the sort-by-object-property functions generic. see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 17:20:34 +00:00
ryan
476b3d9a65
Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 17:09:04 +00:00
ryan
6665f90911
Fix notice in wp_tag_cloud. Props greuben. fixes #17213
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-22 19:37:05 +00:00
nacin
2571545ec0
@since s/3.2/3.2.0/
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 04:40:18 +00:00
ryan
4c1c3af0d6
Remove misleading phpdoc. Props mfields. fixes #17558
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 15:54:48 +00:00
ryan
55c2425b3b
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: http://svn.automattic.com/wordpress/trunk@17443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 21:48:40 +00:00
ryan
6a8ff66305
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: http://svn.automattic.com/wordpress/trunk@17437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:17:54 +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
azaozz
c590b49f45
Logarithmic scale for tag cloud, props kometbomb, fixes #10703
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:06:11 +00:00
ryan
8513b29792
Prophylactic escapes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 16:05:07 +00:00
azaozz
46ece84195
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: http://svn.automattic.com/wordpress/trunk@11744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-26 01:23:46 +00:00
ryan
2df887bd07
Trim tailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz
284e1c0559
Make get_terms() orderby case insensitive, props DD32, fixes #9906
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 12:29:32 +00:00
markjaquith
3ebf837ced
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
ryan
0d81b0ea1a
Revert [11263]. Busted several themes. see #9323
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 04:09:01 +00:00
ryan
6fe87c07bc
Accept only IDs for get_term_link(). Prop filosofo. fixes #9323
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 16:37:42 +00:00
markjaquith
6c2ffddf31
_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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
161b628ba9
Turn off tag cloud filtering when requesting the cloud via AJAX. Props jhodgdon. fixes ##6593
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 18:43:04 +00:00
ryan
2d489767bb
s/attribute_escape/attr/. see #9650
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
9f82f611da
get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 22:13:44 +00:00
ryan
bc5d21252e
Add echo arg to tag cloud. Props DD32. fixes #5710
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 17:32:06 +00:00
azaozz
9d35395cb5
Tag descriptions, props aaroncampbell, fixes #9381
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-09 16:00:40 +00:00
ryan
778f47aac1
Invoke the_tags filter in the_tags(). Props scribu. fixes #9436
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-07 23:54:16 +00:00
ryan
bf0796d4f8
Deprecate get_category_children(). Props filosofo. fixes #9007
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:53:17 +00:00
azaozz
b8b2f2115b
Fix wp_tag_cloud 'RAND' when only one tag, props DD32, fixes #9214
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 09:12:59 +00:00
ryan
44caa31796
Force term ID to be an int. Props filosofo. fixes #9193
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 23:31:46 +00:00
ryan
fc660a45a3
Use _n(). Props nbachiyski. fixes #9111
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
ryan
57c3eba439
Add taxonomy argument to wp_tag_cloud()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 23:41:29 +00:00
azaozz
8d72414561
Fix ASC/DESC tag ordering by count, props mrmist, fixes #8609 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 00:34:31 +00:00
ryan
d38dee6a4a
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: http://svn.automattic.com/wordpress/trunk@10275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:30:36 +00:00
ryan
5aaf5ac0ad
Allow overriding cat walker. Props AaronCampbell. fixes #8682 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-23 12:52:37 +00:00
ryan
f368711809
Fix selected for none and all. Props filosofo. fixes #8700 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-23 12:51:12 +00:00
ryan
fe8c666fe2
Remove lines that are choking phpdoc
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-11 22:20:54 +00:00
ryan
d81c59d985
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: http://svn.automattic.com/wordpress/trunk@10159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 23:31:11 +00:00
ryan
e89192b1a8
Strip trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
1d976b4781
Honor largest and smallest options when they are the same. Props scohoust. fixes #7504
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 21:06:57 +00:00
ryan
3cd406eab7
Fix notice
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 01:06:25 +00:00
ryan
7f14907c42
Update object term cache from get_the_category()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 22:12:36 +00:00
westi
b6da4f7a13
Ensure tag cloud topic(s) tooltips can be translated. Fixes #7989 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 18:12:57 +00:00
westi
9ebad4866c
Improve code style.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 21:57:26 +00:00
azaozz
8d65096069
Add "Choose from popular tags" to the tags postbox
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 23:15:59 +00:00
ryan
3368e6b8e5
Warning fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 20:53:15 +00:00
ryan
cca9311267
Add self parent check
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 18:26:45 +00:00
ryan
ce62669cc4
Introduce get_edit_tag_link() and add option to wp_tag_cloud() for showing edit links.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 18:19:42 +00:00
ryan
461ac5808d
Fix in_category() when checking non-cached categories. fixes #7181
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 21:31:55 +00:00
westi
b31aa3f568
Pass on the $separator. Fixes #7005 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 21:02:07 +00:00
azaozz
3be46dfb57
Complete inline documentation for category-template.php, props jacobsantos, fixes #5634
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-25 14:16:27 +00:00
ryan
96b987270d
Tag cloud fixes from DD32. Implements number arg. see #6015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 16:36:18 +00:00
ryan
facedb8d81
Revert tag cloud changes in 8540 and 8569. They broke tag sorting. see #6015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 23:40:41 +00:00
markjaquith
17df697bef
Whitespacing/coding standards cleanup for category-template.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:01:46 +00:00
markjaquith
74c46749cb
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan
7f8c8b6ae7
Fix tag cloud links. Props DD32. see #6015
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 15:53:39 +00:00
westi
35f46f0d4b
Plugin Install GSOC project first code drop. Props DD32 see #6015 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan
100ed8a62d
Prevent category looping. Props tellyworth. fixes #7267
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 04:57:18 +00:00
ryan
792b5dfd36
Don't replace spaces with nbsp. This breaks wrapping. Props MtDewVirus. fixes #7259
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 00:14:06 +00:00
westi
e3b575b617
Add new has_tag() template tag. Fixes #6590 props Otto42.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 13:52:18 +00:00
ryan
d8ee8494be
[7064] introduces an extra query for each call to in_category(). Avoid the query if an int is passed.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:12:44 +00:00
ryan
87db175abe
Add current_category option to wp_list_categories(). Props filosofo. fixes #6928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-07 19:10:36 +00:00
ryan
eaf44137c6
Reverting [7729]. Breaks listing of categories with posts that have parents with no posts.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-23 22:00:31 +00:00
ryan
84bd7d6a00
We don't need get_categories() to do a hierarchical sort anymore. The walker takes care of it.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 21:21:13 +00:00
ryan
e1b1845154
Taxonomy links and template tags from andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 06:37:19 +00:00
ryan
f9f1f16dca
in_category(): Return immediately if category is empty.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 20:39:05 +00:00
westi
ad583a7219
Improve the tabindex's on the Write>Post page. Need to do the others too.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 09:14:49 +00:00
ryan
04c9051a7d
Remove trailing whites.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
westi
9735b962ba
A better in_category which supports category names that are all numbers.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 18:25:25 +00:00
westi
fdb26f5bae
Support category names in in_category(). Fixes #4558 props robmil.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 22:18:41 +00:00
ryan
1ba0025c60
Add optional post ID arg to the_category and get_the_category_list. Props filosofo. fixes #5050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:46:26 +00:00
ryan
e5879ea923
Add RAND order option to wp_tag_cloud(). Props fitzrev. fixes #5726
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 19:12:46 +00:00
ryan
2340b8dda6
Remove spurious dollar sign. fixes #6690
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 00:58:54 +00:00
ryan
d88d4f85dd
Add depth arg to wp_dropdown_categories(). Props pishmishy. fixes #2461
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-30 20:07:52 +00:00
ryan
b95f8d4459
Return, don't echo, array. Props Otto42. fixes #5155
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-14 22:35:43 +00:00
ryan
bdbdeb1e7c
Add depth arg to wp_list_categories(). Props pishmishy. see #2461
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 21:51:00 +00:00
ryan
1ae1811dd0
Unused var cleanup. Props DD32. see #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
83afcae858
New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan
028a159440
Remove unused vars. Props DD32. see #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
westi
cd8dcf0046
Translation fix for wp_tag_cloud(). Fixes #5131 props webrocker
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 19:49:25 +00:00
ryan
9bfccd6286
Add checks for WP_Error. Props filosofo. see #4809
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:32:22 +00:00
ryan
48b96208e2
Add echo or return option to wp_list_categories. Props Otto42. fixes #4182
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:53:27 +00:00
ryan
321c310717
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
02df4f722c
Add class to tag cloud links. Props filosofo. fixes #4798
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:28:00 +00:00
ryan
b4cd7ba224
Add back compat to get_the_category. Props nbachiyski. fixes #4771
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-18 17:21:51 +00:00
ryan
8b205f4e87
Typo fix
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-15 21:54:02 +00:00
ryan
951a41ad1e
get_the_tag_list from andy. fixes #4733
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:44:49 +00:00
ryan
2ae70d7c72
Update in_category() to use object term cache API. Props technosailor. fixes #4442
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 03:01:26 +00:00
ryan
c140ccb72d
Fix variable name. Props bgracewood. fixes #4621
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-12 16:00:51 +00:00
ryan
e2dc2a8dd3
Add some taxonomy validation. Rearrange funcs.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
rob1n
404e50bfb3
Show the name, not the slug. fixes #4473
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 18:26:43 +00:00
ryan
2f09416258
Trim empty lines. Nothing but newline.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
matt
81dd1f1737
Update in_category to use the new object_term_cache, it wasn't so much with the working before.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 00:16:33 +00:00
ryan
a09031ecd0
Use get_term_children() and get_term_field(). see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:13:12 +00:00
ryan
fbe9b4d76e
Abstract object term cache a bit more. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 21:38:33 +00:00
ryan
df1a8696d5
Some term caching. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 03:36:59 +00:00
markjaquith
b0ffd98c95
switch to term_id and name for category sorting. see #4189 . sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:54:45 +00:00
rob1n
0617eb51d0
Add rel="tag" to tag links. fixes #4159
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 02:07:59 +00:00
rob1n
77a141151f
Fix typo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 16:27:34 +00:00
ryan
b00beb3027
Convert category queries and list cats to taxonomy. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:59:12 +00:00
ryan
0e05576999
Set and get post cats to taxonomy. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:07:53 +00:00
ryan
0b795ff92b
Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 03:57:20 +00:00
rob1n
e6c189902c
Use wp_parse_args(). fixes #4237
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
rob1n
24e1d66471
Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:20:14 +00:00
ryan
45f4a1870e
Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 21:23:11 +00:00
ryan
77cdde3f87
Tag clouds from mdawaffe. fixes #4129
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:52:15 +00:00
ryan
246db4315f
s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:30:55 +00:00
ryan
9e6ab0a59d
Relocate get_post_tags.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
ryan
142582999e
Typo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:53:34 +00:00
matt
c86599b85c
Now tag pretty permalinks should work, and support custom tag bases.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 09:19:32 +00:00
matt
14f1c622ff
All the query stuff we need for tag= URLs to work.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 06:16:12 +00:00
matt
cbe226d621
Basic theme support for tags.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 08:08:31 +00:00
ryan
e9e3e0787d
Castaways on Gilligan's Isle
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt
7602d17899
(int)er the dragon.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan
5b22739cac
More int casts
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 20:52:29 +00:00
markjaquith
05486cce3d
user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith
d0f79bb3f2
trailing tabs and whitespace cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
markjaquith
7438cb83d7
properly sort categories by name for the_category(). Props rob1n. fixes #1302
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-21 02:13:47 +00:00
markjaquith
dfeeedc8da
Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 07:07:12 +00:00
markjaquith
d5eaea2f32
Typo in [4790] caught by Znuff. fixes #3644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-24 05:44:24 +00:00
markjaquith
b9490b45c2
Do not attempt to use rel-tag for URL schemes that do not support it. fixes #3265
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 08:21:28 +00:00
ryan
9ec6d7e762
Check style. Props nickshanks. fixes #3610
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-19 20:58:56 +00:00
ryan
ad41aedae6
Add wp_list_categories filter. Props Mark Jaquith. fixes #3586
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 22:50:30 +00:00
ryan
509a601439
Hierarchical category count fixes from andy. fixes #2738
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-09 08:45:05 +00:00
ryan
ccacbf47cd
Better AJAX feedback messages and markup fixes. Props mdawaffe. fixes #3208
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 23:00:04 +00:00
ryan
aedf76aa2f
Avoid empty result category queries. Props andy. fixes #3416
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-01 18:55:27 +00:00
ryan
814a2b0c1c
Key caches by blog ID for those doing the multi blog trick.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
ryan
9f534ebae6
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan
c4a4ea83b1
Init vars before use. Props Alex King. fixes #3180
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-03 15:41:44 +00:00
ryan
a40292bfb4
Warning and notice fixes from Alex King. fixes #3148
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-19 23:56:28 +00:00
ryan
b4ce019386
Avoid infinite loop when category_parent equals cat_ID
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 17:42:24 +00:00
ryan
37d342ef03
Make the current cat the selected cat when doing a category query. fixes #1194
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-31 21:36:21 +00:00
ryan
849a0d29d7
Use get_option instead of get_settings. Just 'cause.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan
49e390d402
Use wp_list_categories() in templates.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 00:05:00 +00:00
ryan
df5c967953
Reorg category functions. #2525
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-04 21:36:52 +00:00