Commit Graph

244 Commits

Author SHA1 Message Date
Ryan Boren 60b50434bd Make _get_term_hierarchy() query more efficient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12711 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 20:12:04 +00:00
Ryan Boren 37d1acae71 Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12699 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:23:58 +00:00
Ron Rennick 8b4fbdb503 merge in multisite login, wp-includes, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:49:40 +00:00
Ryan Boren 32bfcc6aa8 Convert taxonomy children cache into a transient. fixes #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@12693 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 18:53:52 +00:00
Peter Westwood b2360778ee Add support to get_terms() to allow 'include' & 'exclude' args to be arrays(). Fixes #11076 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12658 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:44:45 +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 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Ryan Boren dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren af9fafc779 Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
git-svn-id: https://develop.svn.wordpress.org/trunk@12510 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 14:37:21 +00:00
Ryan Boren 1ea0e34786 Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429
git-svn-id: https://develop.svn.wordpress.org/trunk@12397 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 16:46:05 +00:00
Peter Westwood 7a0fb0316f Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@12261 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-22 22:33:45 +00:00
Ryan Boren 3430acef10 Use correct var name
git-svn-id: https://develop.svn.wordpress.org/trunk@12243 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 17:32:56 +00:00
Ryan Boren 446d22adcd Fix double slashing. Props scribu. fixes #11061
git-svn-id: https://develop.svn.wordpress.org/trunk@12241 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 14:23:41 +00:00
Ryan Boren dd4f87da0d Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
git-svn-id: https://develop.svn.wordpress.org/trunk@12229 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:41:53 +00:00
Ryan Boren 761aac294c Return null if no term queried. fixes #11112
git-svn-id: https://develop.svn.wordpress.org/trunk@12200 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 20:51:32 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 851b83207c Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11941 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 14:03:57 +00:00
Ryan Boren 7a1a28e91f Fix parent=0 queries. Props Denis-de-Bernardy 107 minutes ago. . fixes #9960
git-svn-id: https://develop.svn.wordpress.org/trunk@11476 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-28 18:06:08 +00:00
Ryan Boren 813973d04f Fix default orderby for tt_id query. see #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11469 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 17:09:19 +00:00
Ryan Boren e38c2c7c07 Fix default orderby for tt_id query. see #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11468 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 17:00:30 +00:00
Ryan Boren 4b4c9e966e Add orderby = none option to wp_get_object_terms(). Props vladimir_kolesnikov. fixes #9937
git-svn-id: https://develop.svn.wordpress.org/trunk@11457 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 18:18:06 +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
Ryan Boren 3788f58c9e Revert [11263]. Busted several themes. see #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11324 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 04:09:01 +00:00
Ryan Boren ed05a1e8f8 Accept only IDs for get_term_link(). Prop filosofo. fixes #9323
git-svn-id: https://develop.svn.wordpress.org/trunk@11263 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 16:37:42 +00:00
Ryan Boren 00268d9665 Allow use of _pad_term_counts for all hierarhcical taxonomies. Props mgsisk, Denis-de-Bernardy. fixes #8350
git-svn-id: https://develop.svn.wordpress.org/trunk@11260 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 05:01:12 +00:00
Ryan Boren c09e996228 Pass IDs, not objects, to get_category_link(). fixes #9784
git-svn-id: https://develop.svn.wordpress.org/trunk@11257 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 04:45:39 +00:00
Peter Westwood 9b67652231 Fix typo in [11253] fixes #8704 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11255 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:25:43 +00:00
Peter Westwood a08a8c6db9 Add a filter to the result of wp_get_object_terms(). Fixes #8704 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11253 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:11:58 +00:00
Peter Westwood a9c7730610 Allow for custom ordering in get_terms(). Fixes #7539 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11250 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 07:57:07 +00:00
Mark Jaquith 8d6cb67233 esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-09 07:27:22 +00:00
Ryan Boren a0f1a1c89b Return ref. Props nbachiyski. fixes #9109
git-svn-id: https://develop.svn.wordpress.org/trunk@11216 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 05:03:59 +00:00
Mark Jaquith c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren 71fbf68dee strip slashes from term before prepare(). Props jhodgdon. see #6593
git-svn-id: https://develop.svn.wordpress.org/trunk@11153 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 22:05:04 +00:00
Ryan Boren d0b30bee2a Trim term before checking if it already exists. Props jhodgdon. fixes #9397
git-svn-id: https://develop.svn.wordpress.org/trunk@11151 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 20:59:14 +00:00
Ryan Boren 1f47d7d591 Fix registration of default taxonomies so that proper rewrite rules are written.
git-svn-id: https://develop.svn.wordpress.org/trunk@11141 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 19:05:32 +00:00
Ryan Boren c50d877687 Fix category search pagination. Fix caching of empty term results. Props Denis-de-Bernardy. fixes #8632
git-svn-id: https://develop.svn.wordpress.org/trunk@11140 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 16:51:45 +00:00
Ryan Boren b1bf7685ce Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647
git-svn-id: https://develop.svn.wordpress.org/trunk@11129 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 20:25:30 +00:00
Ryan Boren 66c017857a Allow taxonomy registration before init. Props arena. fixes #9647
git-svn-id: https://develop.svn.wordpress.org/trunk@11122 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 16:40:36 +00:00
Ryan Boren 0537f5af69 get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
git-svn-id: https://develop.svn.wordpress.org/trunk@11115 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 19:49:21 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren fe2cea5e10 Clarify args to wp_update_term(). Props simonwheatley, johnbillion. fixes #9293
git-svn-id: https://develop.svn.wordpress.org/trunk@11068 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:05:36 +00:00
Ryan Boren c9b0e3b49a get_terms_orderby, get_terms_fields, and tag_clooud-sort filters. Props jhodgdon, filosofo. fixes #9004
git-svn-id: https://develop.svn.wordpress.org/trunk@11037 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-21 22:13:44 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren b47e7b03fd Create default taxonomies upon init. Props nbachiyski. fixes #9399
git-svn-id: https://develop.svn.wordpress.org/trunk@10965 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 23:17:49 +00:00
Ryan Boren 587e0e979f Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
git-svn-id: https://develop.svn.wordpress.org/trunk@10963 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 22:19:01 +00:00
Ryan Boren f7df1f116e Add option to check if term exists with given parent. Update ajax add-cat check to pass parent when checking if cat exists.
git-svn-id: https://develop.svn.wordpress.org/trunk@10905 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 20:58:25 +00:00
Peter Westwood c8d46a6a36 Allow wp_delete_term users to force all objects to have a new term applied. Allow for category merging use-case. Fixes #9355.
git-svn-id: https://develop.svn.wordpress.org/trunk@10813 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:06:49 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren fc7b52bb1a Check if error. Props simonwheatley. fixes #9345
git-svn-id: https://develop.svn.wordpress.org/trunk@10803 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 16:42:21 +00:00
Ryan Boren 1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Ryan Boren 0e7b3c3903 set_object_terms action. Props filosofo. fixes #9216
git-svn-id: https://develop.svn.wordpress.org/trunk@10637 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 17:13:52 +00:00
Ryan Boren a47e945236 Don't limit query when descending hierarchy. Props filosofo. fixes #8832
git-svn-id: https://develop.svn.wordpress.org/trunk@10416 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 22:59:29 +00:00
Ryan Boren e7a5bb8295 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: https://develop.svn.wordpress.org/trunk@10275 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 22:30:36 +00:00
Ryan Boren 3c7eca56ab Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: https://develop.svn.wordpress.org/trunk@10222 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-18 19:12:26 +00:00
Ryan Boren 5d116156b3 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: https://develop.svn.wordpress.org/trunk@10159 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 23:31:11 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 3c8fede621 Don't cache filtered term objects. see #8146
git-svn-id: https://develop.svn.wordpress.org/trunk@9737 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 20:03:31 +00:00
Ryan Boren 45ae47b57a get_terms() improvements from filosofo. fixes #8087
git-svn-id: https://develop.svn.wordpress.org/trunk@9652 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 00:20:12 +00:00
Peter Westwood 40ecdcaefd Notice fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@9602 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 23:03:34 +00:00
Ryan Boren 83e002f20b Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 18:54:18 +00:00
Ryan Boren 0b0632ccf1 Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9481 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 23:52:49 +00:00
Ryan Boren 1a1cc80b39 phpdoc updates. see #7358
git-svn-id: https://develop.svn.wordpress.org/trunk@9397 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-29 06:54:53 +00:00
Peter Westwood 11ef4262c2 Better variable naming. See #7358.
git-svn-id: https://develop.svn.wordpress.org/trunk@9349 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-25 22:56:02 +00:00
Ryan Boren 605a57ead1 Don't double escape in get_cat_ID(). fixes #7849
git-svn-id: https://develop.svn.wordpress.org/trunk@9229 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 18:56:56 +00:00
Ryan Boren 8ec0862e2a New caching style for term queries
git-svn-id: https://develop.svn.wordpress.org/trunk@9102 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-08 22:50:46 +00:00
Peter Westwood 8e25586a4e Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-21 20:41:25 +00:00
Peter Westwood 047ec90dee phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8782 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:23:43 +00:00
Ryan Boren bda582ab0d Notice fixes. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8732 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 21:50:11 +00:00
Ryan Boren 197fc1d118 Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 17:00:37 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren 6fbbcbfb6e Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8433 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-24 19:28:40 +00:00
Ryan Boren 09f42ecdc0 Don't allow empty term names. Props scohoust. fixes #7336 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8393 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-21 21:53:32 +00:00
Ryan Boren 686e7e79aa Revert accidental bits that snuck in with [8376]. see #7227
git-svn-id: https://develop.svn.wordpress.org/trunk@8377 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-19 19:00:56 +00:00
Ryan Boren 9ba30a1b30 IXR 0.71. Props jacobsantos. fixes #7227
git-svn-id: https://develop.svn.wordpress.org/trunk@8376 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-19 17:56:35 +00:00
Ryan Boren a118de6487 Fix is_term query prepare() so that tag slugs that percent signs in them don't break. fixes #6867 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8363 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-17 16:59:40 +00:00
Ryan Boren e0f44cba0c Account for term exclusion filter when creating cache key. Props filosofo. fixes #7213
git-svn-id: https://develop.svn.wordpress.org/trunk@8225 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-01 15:54:58 +00:00
Ryan Boren ef20031e40 phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@8164 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-22 20:23:23 +00:00
Ryan Boren a150c4d549 Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7952 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 18:47:33 +00:00
Matt Mullenweg fc437f1276 Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7940 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 02:35:24 +00:00
Matt Mullenweg 06f7fea95e Use TT ids instead of term ids. Hat tip: andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7939 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-16 01:43:35 +00:00
Ryan Boren 84a2c7f980 Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@7738 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 17:42:13 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren 8bb8033d6c Allow register_taxonomy() to be called before init for back compat with impatient plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@7545 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 06:30:20 +00:00
Ryan Boren da531d6aa9 get_term_link() fixes for core taxonomies. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7526 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 18:26:22 +00:00
Ryan Boren ec33c42302 Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 06:37:19 +00:00
Ryan Boren 98b27528d7 Accept array of object types when registering a taxonomy. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7507 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-24 22:43:20 +00:00
Ryan Boren cbfb5d78b5 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Ryan Boren 24a6304824 Make sure IDs are >= 0. see #6305
git-svn-id: https://develop.svn.wordpress.org/trunk@7481 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 00:55:11 +00:00
Ryan Boren 39a2681bc7 Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
git-svn-id: https://develop.svn.wordpress.org/trunk@7431 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 23:34:32 +00:00
Ryan Boren 2553a64d19 Return error if term DB insert fails
git-svn-id: https://develop.svn.wordpress.org/trunk@7430 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 22:33:34 +00:00
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Ryan Boren a47c497cb7 Support ordering for term relationships. Props andy. fixes #5857
git-svn-id: https://develop.svn.wordpress.org/trunk@6851 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-14 17:17:57 +00:00
Ryan Boren 68166b1851 Add more sort options to wp_get_object_terms(). Props andy. fixes #5245
git-svn-id: https://develop.svn.wordpress.org/trunk@6843 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-14 05:40:19 +00:00
Ryan Boren b446d77af9 Manage categories redesign. Add categories search.
git-svn-id: https://develop.svn.wordpress.org/trunk@6799 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-12 09:02:02 +00:00
Ryan Boren b7bab14e13 Fix fields=names query in get_terms(). Props Sarky-de. fixes #5780
git-svn-id: https://develop.svn.wordpress.org/trunk@6738 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 20:42:03 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren e9de000f12 First cut at Manage->Tags. Props jhodgdon. see #5684
git-svn-id: https://develop.svn.wordpress.org/trunk@6660 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 19:29:01 +00:00