ryan
cedfa0181b
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan
36d9a3677e
Cleanup clean_term_cache(). Props Denis-de-Bernardy. see #11530
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 14:37:21 +00:00
ryan
b2af12a900
Pass taxonomy to created, edited, create, and edit actions. Props Denis-de-Bernardy. fixes #11429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 16:46:05 +00:00
westi
693451e75f
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: http://svn.automattic.com/wordpress/trunk@12261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 22:33:45 +00:00
ryan
8414c6c62f
Use correct var name
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:32:56 +00:00
ryan
4b20540781
Fix double slashing. Props scribu. fixes #11061
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 14:23:41 +00:00
ryan
1d3d70d375
Fix custom taxonomy term links when using non-pretty permalinks. Props bookchiq. fixes #11179
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:41:53 +00:00
ryan
4b8a5274af
Return null if no term queried. fixes #11112
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 20:51:32 +00:00
ryan
57f26bb58e
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
ryan
ae21304492
Actions for taxonomy updates. Props Demitrious Kelly. fixes #10750
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 14:03:57 +00:00
ryan
f50600bc13
Fix parent=0 queries. Props Denis-de-Bernardy 107 minutes ago. . fixes #9960
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-28 18:06:08 +00:00
ryan
d77f57c34f
Fix default orderby for tt_id query. see #9937
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 17:09:19 +00:00
ryan
b32a87962a
Fix default orderby for tt_id query. see #9937
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 17:00:30 +00:00
ryan
8600adb080
Add orderby = none option to wp_get_object_terms(). Props vladimir_kolesnikov. fixes #9937
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 18:18:06 +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
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
ryan
80078c3882
Allow use of _pad_term_counts for all hierarhcical taxonomies. Props mgsisk, Denis-de-Bernardy. fixes #8350
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 05:01:12 +00:00
ryan
1d367b556c
Pass IDs, not objects, to get_category_link(). fixes #9784
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 04:45:39 +00:00
westi
f80f234fdd
Fix typo in [11253] fixes #8704 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:25:43 +00:00
westi
077697d1ca
Add a filter to the result of wp_get_object_terms(). Fixes #8704 props Denis-de-Bernardy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 09:11:58 +00:00
westi
e61bea89ed
Allow for custom ordering in get_terms(). Fixes #7539 props DD32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 07:57:07 +00:00
markjaquith
d7b015645d
esc_js(). Shorter, follows new escaping naming convention.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
ryan
e15c230205
Return ref. Props nbachiyski. fixes #9109
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 05:03:59 +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
azaozz
83f674bf9a
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan
7fc314e858
strip slashes from term before prepare(). Props jhodgdon. see #6593
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 22:05:04 +00:00
ryan
e52d7eee0b
Trim term before checking if it already exists. Props jhodgdon. fixes #9397
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-01 20:59:14 +00:00
ryan
30ee53dd96
Fix registration of default taxonomies so that proper rewrite rules are written.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 19:05:32 +00:00
ryan
11cbf4e3d7
Fix category search pagination. Fix caching of empty term results. Props Denis-de-Bernardy. fixes #8632
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 16:51:45 +00:00
ryan
fcd5b67d67
Allow plugins to override default taxonomies. Props Denis-de-Bernardy. fixes #9647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 20:25:30 +00:00
ryan
5a1c8da169
Allow taxonomy registration before init. Props arena. fixes #9647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 16:40:36 +00:00
ryan
7eaed7cc08
get_term_children phpdoc and var naming improvements. Props simonwheatley. fixes #9667
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 19:49:21 +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
91a3c4bbf4
Clarify args to wp_update_term(). Props simonwheatley, johnbillion. fixes #9293
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 08:05:36 +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
a61bc0ec8a
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan
2a35127359
Create default taxonomies upon init. Props nbachiyski. fixes #9399
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 23:17:49 +00:00
ryan
59ddc91736
Clarify phpdoc for wp_set_object_terms(). Props simonwheatley. fixes #9348
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:19:01 +00:00
ryan
6f431038f2
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: http://svn.automattic.com/wordpress/trunk@10905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-10 20:58:25 +00:00
westi
789522a21a
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: http://svn.automattic.com/wordpress/trunk@10813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:06:49 +00:00
ryan
e8b6fe7347
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
4f130b5e47
Check if error. Props simonwheatley. fixes #9345
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-17 16:42:21 +00:00
ryan
d43bd8177c
Use wpdb::insert() and update(). Props DD32. see #6836
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan
2df038fac9
set_object_terms action. Props filosofo. fixes #9216
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-23 17:13:52 +00:00
ryan
0982df4801
Don't limit query when descending hierarchy. Props filosofo. fixes #8832
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 22:59:29 +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
8a8ac376bf
Allow muliple tag-like taxonomies in the post editor. see #6387
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 19:12:26 +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
1039d131fe
Don't cache filtered term objects. see #8146
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 20:03:31 +00:00
ryan
031a280fd0
get_terms() improvements from filosofo. fixes #8087
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 00:20:12 +00:00
westi
eddacb0872
Notice fixes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 23:03:34 +00:00
ryan
545da15950
Notice fixes from DD32. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
ryan
0a8415ae7a
Warning fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 23:52:49 +00:00
ryan
4b7b8b4958
phpdoc updates. see #7358
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-29 06:54:53 +00:00
westi
1f079aa071
Better variable naming. See #7358 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:56:02 +00:00
ryan
dd0d70f411
Don't double escape in get_cat_ID(). fixes #7849
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 18:56:56 +00:00
ryan
5d1f8b93eb
New caching style for term queries
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:50:46 +00:00
westi
95e26235ad
Notice fixes see #7509 props DD32 and jacobsantos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
westi
9e89b4a99e
phpDoc corrections for wp-includes. See #7550 props jacobsantos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-30 21:23:43 +00:00
ryan
19a1e9682b
Notice fixes. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-25 21:50:11 +00:00
ryan
113c014920
Notice fixes. Props DD32. see #7509
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
ryan
35b18e5034
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +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
e8cba9f0cb
Check both slug and name when determining if is_term(). fixes #6593 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-24 19:28:40 +00:00
ryan
364d78f689
Don't allow empty term names. Props scohoust. fixes #7336 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-21 21:53:32 +00:00
ryan
d845973d7b
Revert accidental bits that snuck in with [8376]. see #7227
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 19:00:56 +00:00
ryan
8831ea942b
IXR 0.71. Props jacobsantos. fixes #7227
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-19 17:56:35 +00:00
ryan
fe9866dc79
Fix is_term query prepare() so that tag slugs that percent signs in them don't break. fixes #6867 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-17 16:59:40 +00:00
ryan
270555de54
Account for term exclusion filter when creating cache key. Props filosofo. fixes #7213
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-01 15:54:58 +00:00
ryan
683acd8245
phpdoc updates from jacobsantos. see #7038
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-22 20:23:23 +00:00
ryan
96c73cc917
Make sure taxonomy args are set before using. Props Sam_a. fixes #6960 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:47:33 +00:00
matt
7b0c0703f5
Fix default taxonomy query var. Populate taxonomy and term query vars ASAP. Fixes template fall-through. Hat tip: andy
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 02:35:24 +00:00
matt
691eccf400
Use TT ids instead of term ids. Hat tip: andy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-16 01:43:35 +00:00
ryan
3495bf80e0
Only use the args defined in defaults to compute the cache key in get_terms. Props mdawaffe.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 17:42:13 +00:00
ryan
248a0c06e2
Prepare DB queries in more places. Props filosofo. see #6644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
ryan
a480e4e55b
Allow register_taxonomy() to be called before init for back compat with impatient plugins.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 06:30:20 +00:00
ryan
f2d7699045
get_term_link() fixes for core taxonomies. Props andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 18:26:22 +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
faff475746
Accept array of object types when registering a taxonomy. Props andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-24 22:43:20 +00:00
ryan
cce67416a3
Taxonomy queries and urls. Props andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
ryan
bc1e8fd755
Make sure IDs are >= 0. see #6305
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 00:55:11 +00:00
ryan
da37142561
Capture last db error. Pass it in WP_Error data when term inserts fail. Fix typo in WP_Ajax_Response
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 23:34:32 +00:00
ryan
4784e3bd97
Return error if term DB insert fails
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 22:33:34 +00:00
ryan
dce0978cee
Notice fixes from nbachiyski. fixes #5961
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:43:56 +00:00
ryan
5ed843d6d8
Support ordering for term relationships. Props andy. fixes #5857
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 17:17:57 +00:00
ryan
e3b7a9c202
Add more sort options to wp_get_object_terms(). Props andy. fixes #5245
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-14 05:40:19 +00:00
ryan
8bd0691aa3
Manage categories redesign. Add categories search.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-12 09:02:02 +00:00
ryan
6c312db33c
Fix fields=names query in get_terms(). Props Sarky-de. fixes #5780
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 20:42:03 +00:00
ryan
d88983793b
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
879f7f4766
First cut at Manage->Tags. Props jhodgdon. see #5684
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:29:01 +00:00
westi
1aaec4ff30
Notice fixing for wp-includes. See #5607 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +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
5cb5750259
Don't create blank terms. Props ionfish and jhodgdon. fixes #5494
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 23:25:11 +00:00
ryan
fdebf7ba34
Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 17:45:50 +00:00
ryan
6a27406096
Taxonomy phpdoc from darkdragon. fixes #4742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 00:25:39 +00:00
ryan
805e41198c
Defer term counting during import. Props tellyworth. fixes #5377
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:14:00 +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
ryan
0ad360cc00
Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:31:54 +00:00
ryan
8689aef969
Make term slug unique when moving to another parent.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-09 18:34:41 +00:00
ryan
964c6c72c1
Skip sanitization altogether for raw context. Props Quandary. fixes #5325
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-07 06:20:08 +00:00
ryan
ad563a953f
Fix raw context filtering for terms. see #5253
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-03 19:06:43 +00:00
ryan
43bb491419
Cache get_terms queries that return nothing.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-02 04:31:44 +00:00
ryan
b906aa0e86
Add is_wp_error check
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-28 21:33:03 +00:00
ryan
b4cdc4435d
Strip term name and description before preparing for DB.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-26 19:44:57 +00:00
ryan
58d174004e
Pass literal strings not vars to compact.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-25 07:15:02 +00:00
ryan
85078df8c7
Update clean_object_term_cache() to clear for each taxonomy
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-24 17:07:04 +00:00
ryan
9db4d2042e
Separate taxonomy relationships into separate cache buckets.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 20:33:50 +00:00
ryan
6e7729018e
Remove unnecessary GROUP BY when getting max term_group. Props michelwp. fixes #5240
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:43:15 +00:00
ryan
0474421643
Add option for ordering retrieved terms by slug or term_group. Props michelwp. fixes #5245
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:39:03 +00:00
ryan
6566f35303
get_row() not fetch_row(). Props michelwp. fixes #5230
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-23 16:36:08 +00:00
ryan
a76f648e22
taxonomy phpdoc updates from darkdragon. see #4742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-21 17:18:24 +00:00
ryan
6edc7aed5c
Catch WP_Error. Props tellyworth. fixes #5226
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-18 15:55:15 +00:00
markjaquith
d395d55a0e
Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-17 20:41:43 +00:00
ryan
9c6dc8f1be
More taxonomy phpdoc from darkdragon. see #4742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 22:49:31 +00:00
westi
1eb4758157
Fix typo in call to $wpdb->update. Fixes #5206 props zamoose
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-15 20:07:29 +00:00
ryan
363eae9d76
Add some clean cache hooks
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-14 04:55:33 +00:00
ryan
24af93e9c0
If checking for term within taxonomy, just do the taxonomy specific query. Saves one query.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 19:04:39 +00:00
ryan
a8d380c32c
Eliminate object_term_cache array. see #5182
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 18:23:59 +00:00
markjaquith
6f0cbc16a8
prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-13 03:51:11 +00:00
ryan
c674a475d7
Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-11 17:43:49 +00:00
ryan
e76e370638
Fix term count padding.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 00:35:59 +00:00
ryan
683db28b4c
Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 18:01:08 +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
76fee1da02
Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-16 02:36:23 +00:00
westi
e08024d86e
Set svn:eol-style on a few files.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 17:35:32 +00:00
matt
8bfcfae2f8
Incorrect cache group was causing terms never to get cached.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-15 16:48:29 +00:00
ryan
60bec14a4e
More phpdoc for taxonomy from darkdragon. see #4742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 02:56:44 +00:00
ryan
98d52ab1f2
Resurrect count padding.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 00:49:16 +00:00
ryan
8d33c59576
Case terms to int so we don't try to create new terms with the term ids as the names. fixes #4920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 22:07:23 +00:00
ryan
a428494291
Resurrect hide_empty
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 04:34:06 +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
markjaquith
e26363a568
Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 05:08:48 +00:00
ryan
56dd1d2033
Make sure term cache is cleared when updating term counts.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 00:34:55 +00:00
ryan
395ee1acad
Include tags in feeds. fixes #4537
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 21:10:20 +00:00
ryan
788512c881
Add clean_url filter. see #4570
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-27 23:31:09 +00:00
ryan
51b6d6f6ea
Don't pass cat as ref. Fix some term sanitization. fixes #4702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 18:41:01 +00:00
ryan
ccdf20ef62
Update WP importer to use taxonomy and query cat based on slug. see #4613
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-24 14:44:26 +00:00
ryan
ba0f401390
bookmark sanitizer funcs and default filter cleanup. see #4546
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-20 22:50:04 +00:00
ryan
0458d919c0
First cut of taxonomy API phpdoc from darkdragon. see #4742
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 21:22:37 +00:00
ryan
638d5e6e39
wp_update_term_count fixes from cavemonkey50. fixes #4500
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:54:02 +00:00
ryan
7c1ce10fae
sanitize the value, not the field. Props cavemonkey50. fixes #4651
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-14 02:46:06 +00:00
ryan
7217266ca3
AND get_terms() field queries
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-17 02:02:52 +00:00
ryan
ebf520f0d7
Post filter rework. see #4546
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-11 19:57:43 +00:00
ryan
46110c7774
Delete term relationship only for the given object.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 15:47:27 +00:00
ryan
267997a4fd
Add name_like query to get_terms(). Use it in suggestCategories.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:28:19 +00:00
ryan
74bc9bb8a6
Term count fixes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 15:46:49 +00:00
ryan
21e8f43f8c
Don't create '0' categories. fixes #4413
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-20 22:06:29 +00:00
rob1n
7b09e504e7
Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 18:03:12 +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
ryan
9d3d20f063
Use EXTR_SKIP when extracting. see #4468
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +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
ryan
bac1fccf3a
Fix category renaming. fixes #4415 see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:10:52 +00:00
ryan
9f46c4af44
Term sanitization. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 00:57:23 +00:00
ryan
9e8bfa7f7b
query by parent, not child_of, in get_nested_categories(). see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:24:07 +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
rob1n
e836ded63b
Fix variable typo. Props schulte. fixes #4374
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:51:03 +00:00
ryan
e7e4c113fd
If a term has no children, return an empty array for child_of queries. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:44:18 +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
ryan
7c39499aa0
Category hierarchy fixes. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:39:47 +00:00
ryan
facc7245fa
Add ignore_empty option to wp_count_terms(). see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:05:44 +00:00
ryan
083dfb059b
Fix listing of categories with parents. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:50:00 +00:00
ryan
3176f1acd2
get_term_children() and category query fixes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:27:49 +00:00
ryan
6a314d85d8
Use taxonomy instead of post2cat. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 16:52:31 +00:00
ryan
13a01467dc
get_objects_in_term()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:25:09 +00:00
ryan
965e63b970
Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 00:51:24 +00:00
ryan
ee5ec0c505
Fix up exporter. Remove more refrences to the categories table. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 19:32:45 +00:00
ryan
eb541a962f
Link category fixes. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:21:04 +00:00
ryan
49953705f1
Delete term if no taxonomies use it. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:29:52 +00:00
ryan
128bbfa161
Change term count callback style. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:17:50 +00:00
ryan
3e59a81327
Remove debug. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:28:30 +00:00
ryan
c816b51b8c
Fix object term relationship deletion and count updating.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:15:18 +00:00
ryan
2918f50e90
Term cache work. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 23:32:06 +00:00
ryan
80ce3031d1
Update cat2tag converter. Some term API tweaks. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:54:16 +00:00
ryan
b068bd6447
During upgrade, make slugs unique and put like slugs in a term group. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 17:47:20 +00:00
ryan
6251eb3ca6
wp_delete_term(). see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:03:24 +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
675cc0d029
wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 17:28:13 +00:00
ryan
42df47a478
Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 10:32:33 +00:00
ryan
557eafd82e
Add some term hooks. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:26:52 +00:00
ryan
4bbddb6559
Start moving link categories to taxonomy. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:15:10 +00:00
ryan
b450105bfd
wp_insert_term() and wp_update_term(). see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 05:42:31 +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
ryan
6ecc901391
Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 20:39:26 +00:00
ryan
634a33c206
Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 05:12:38 +00:00