Commit Graph

143 Commits

Author SHA1 Message Date
Ryan Boren 810ebfe299 AND get_terms() field queries
git-svn-id: https://develop.svn.wordpress.org/trunk@5807 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 02:02:52 +00:00
Ryan Boren 9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren 35f2f13526 Delete term relationship only for the given object.
git-svn-id: https://develop.svn.wordpress.org/trunk@5774 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 15:47:27 +00:00
Ryan Boren 66ec9bee20 Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: https://develop.svn.wordpress.org/trunk@5756 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 21:28:19 +00:00
Ryan Boren f63d130503 Term count fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@5741 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 15:46:49 +00:00
Ryan Boren fdb786ba7f Don't create '0' categories. fixes #4413
git-svn-id: https://develop.svn.wordpress.org/trunk@5739 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-20 22:06:29 +00:00
rob1n ad84c8381a Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: https://develop.svn.wordpress.org/trunk@5728 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 18:03:12 +00:00
Ryan Boren 7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren 09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren 09c96b4292 Fix category renaming. fixes #4415 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5658 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:10:52 +00:00
Ryan Boren 400c2064ad Term sanitization. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5652 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-05 00:57:23 +00:00
Ryan Boren 9aae8013a8 query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5622 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:24:07 +00:00
Ryan Boren 0b91f4aaca Abstract object term cache a bit more. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5616 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 21:38:33 +00:00
rob1n a1bedd8f11 Fix variable typo. Props schulte. fixes #4374
git-svn-id: https://develop.svn.wordpress.org/trunk@5613 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:51:03 +00:00
Ryan Boren b4d7d80744 If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5612 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:44:18 +00:00
Ryan Boren 5a8598cd15 Some term caching. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5598 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 03:36:59 +00:00
Ryan Boren 18c1cade87 Category hierarchy fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5597 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:39:47 +00:00
Ryan Boren 1bb6925679 Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5596 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:05:44 +00:00
Ryan Boren 479ecdf5f8 Fix listing of categories with parents. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5594 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:50:00 +00:00
Ryan Boren cfa5ecfd4b get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:27:49 +00:00
Ryan Boren e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Ryan Boren ac1db497fc get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:25:09 +00:00
Ryan Boren 7baf9a0320 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: https://develop.svn.wordpress.org/trunk@5567 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 00:51:24 +00:00
Ryan Boren ed0d41fb04 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5563 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 19:32:45 +00:00
Ryan Boren cb8250ff30 Link category fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:21:04 +00:00
Ryan Boren bbcffa4c56 Delete term if no taxonomies use it. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5559 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:29:52 +00:00
Ryan Boren 6485c0e03f Change term count callback style. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5558 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:17:50 +00:00
Ryan Boren 2ea53fa534 Remove debug. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5557 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:28:30 +00:00
Ryan Boren b41b02db5d Fix object term relationship deletion and count updating.
git-svn-id: https://develop.svn.wordpress.org/trunk@5556 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:15:18 +00:00
Ryan Boren 455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren 4c2cd543c1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5553 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 18:54:16 +00:00
Ryan Boren dc77043278 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5552 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 17:47:20 +00:00
Ryan Boren 5bfabcf2d3 wp_delete_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5533 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:03:24 +00:00
Ryan Boren 2b134cc1f7 Set and get post cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5529 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:07:53 +00:00
Ryan Boren a0e6f06194 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5528 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 17:28:13 +00:00
Ryan Boren 4c2f2563a9 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5525 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 10:32:33 +00:00
Ryan Boren 3502ab6a8e Add some term hooks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5524 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:26:52 +00:00
Ryan Boren feb66bda9c Start moving link categories to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5523 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:15:10 +00:00
Ryan Boren 7f3e74ffca wp_insert_term() and wp_update_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5522 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 05:42:31 +00:00
Ryan Boren 0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
Ryan Boren 9aa94b995b Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5515 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 20:39:26 +00:00
Ryan Boren 523a3724bb Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 05:12:38 +00:00