Commit Graph

152 Commits

Author SHA1 Message Date
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