Commit Graph

189 Commits

Author SHA1 Message Date
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
Peter Westwood
90e193bdab Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Ryan Boren
791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren
f86da68978 Don't create blank terms. Props ionfish and jhodgdon. fixes #5494
git-svn-id: https://develop.svn.wordpress.org/trunk@6424 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 23:25:11 +00:00
Ryan Boren
e715ba1cd0 Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293
git-svn-id: https://develop.svn.wordpress.org/trunk@6409 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:45:50 +00:00
Ryan Boren
f7adf585d1 Taxonomy phpdoc from darkdragon. fixes #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6378 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 00:25:39 +00:00
Ryan Boren
e6befddf5f Defer term counting during import. Props tellyworth. fixes #5377
git-svn-id: https://develop.svn.wordpress.org/trunk@6376 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-12 05:14:00 +00:00
Ryan Boren
3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren
efccf5d5b8 Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417
git-svn-id: https://develop.svn.wordpress.org/trunk@6355 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:31:54 +00:00
Ryan Boren
a6159988be Make term slug unique when moving to another parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@6326 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-09 18:34:41 +00:00
Ryan Boren
3330c693e4 Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: https://develop.svn.wordpress.org/trunk@6321 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 06:20:08 +00:00
Ryan Boren
686182b75d Fix raw context filtering for terms. see #5253
git-svn-id: https://develop.svn.wordpress.org/trunk@6311 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 19:06:43 +00:00
Ryan Boren
77838c2433 Cache get_terms queries that return nothing.
git-svn-id: https://develop.svn.wordpress.org/trunk@6307 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-02 04:31:44 +00:00
Ryan Boren
59555bdcb9 Add is_wp_error check
git-svn-id: https://develop.svn.wordpress.org/trunk@6295 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-28 21:33:03 +00:00
Ryan Boren
c66d25830f Strip term name and description before preparing for DB.
git-svn-id: https://develop.svn.wordpress.org/trunk@6294 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-26 19:44:57 +00:00
Ryan Boren
efd6b3c958 Pass literal strings not vars to compact.
git-svn-id: https://develop.svn.wordpress.org/trunk@6290 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-25 07:15:02 +00:00
Ryan Boren
e1f98333f6 Update clean_object_term_cache() to clear for each taxonomy
git-svn-id: https://develop.svn.wordpress.org/trunk@6288 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-24 17:07:04 +00:00
Ryan Boren
87fb5e4b49 Separate taxonomy relationships into separate cache buckets.
git-svn-id: https://develop.svn.wordpress.org/trunk@6286 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 20:33:50 +00:00
Ryan Boren
cbad06c47e Remove unnecessary GROUP BY when getting max term_group. Props michelwp. fixes #5240
git-svn-id: https://develop.svn.wordpress.org/trunk@6285 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 16:43:15 +00:00
Ryan Boren
61d75c2593 Add option for ordering retrieved terms by slug or term_group. Props michelwp. fixes #5245
git-svn-id: https://develop.svn.wordpress.org/trunk@6284 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 16:39:03 +00:00
Ryan Boren
8f5df55d26 get_row() not fetch_row(). Props michelwp. fixes #5230
git-svn-id: https://develop.svn.wordpress.org/trunk@6283 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 16:36:08 +00:00
Ryan Boren
5ac19bfa84 taxonomy phpdoc updates from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6282 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-21 17:18:24 +00:00
Ryan Boren
73bc9fb9ba Catch WP_Error. Props tellyworth. fixes #5226
git-svn-id: https://develop.svn.wordpress.org/trunk@6271 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-18 15:55:15 +00:00
Mark Jaquith
a42beabd86 Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202
git-svn-id: https://develop.svn.wordpress.org/trunk@6267 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 20:41:43 +00:00
Ryan Boren
9c014dca4e More taxonomy phpdoc from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6254 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-15 22:49:31 +00:00
Peter Westwood
0596a0e504 Fix typo in call to $wpdb->update. Fixes #5206 props zamoose
git-svn-id: https://develop.svn.wordpress.org/trunk@6251 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-15 20:07:29 +00:00
Ryan Boren
c061823bb4 Add some clean cache hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@6248 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-14 04:55:33 +00:00
Ryan Boren
2fe73132c6 If checking for term within taxonomy, just do the taxonomy specific query. Saves one query.
git-svn-id: https://develop.svn.wordpress.org/trunk@6246 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 19:04:39 +00:00
Ryan Boren
44c5526505 Eliminate object_term_cache array. see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6243 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:23:59 +00:00
Mark Jaquith
00a44f580a prepare(), insert(), update() for wp-includes/ taxonomy.php, rss.php, registration.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6241 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 03:51:11 +00:00
Ryan Boren
b6905da933 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: https://develop.svn.wordpress.org/trunk@6224 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 17:43:49 +00:00
Ryan Boren
09e793a837 Fix term count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6159 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 00:35:59 +00:00
Ryan Boren
c93bdc05d1 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: https://develop.svn.wordpress.org/trunk@6157 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 18:01:08 +00:00
Ryan Boren
5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren
aed5679ace Don't lose tags when saving a post with attachments. Props filosofo. fixes #4532
git-svn-id: https://develop.svn.wordpress.org/trunk@6121 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-16 02:36:23 +00:00
Peter Westwood
0675c6fc51 Set svn:eol-style on a few files.
git-svn-id: https://develop.svn.wordpress.org/trunk@6118 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 17:35:32 +00:00
Matt Mullenweg
9a1ce32a53 Incorrect cache group was causing terms never to get cached.
git-svn-id: https://develop.svn.wordpress.org/trunk@6117 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-15 16:48:29 +00:00
Ryan Boren
514fb8f764 More phpdoc for taxonomy from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@6092 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 02:56:44 +00:00
Ryan Boren
f29d32da27 Resurrect count padding.
git-svn-id: https://develop.svn.wordpress.org/trunk@6087 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 00:49:16 +00:00
Ryan Boren
836ea54d21 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: https://develop.svn.wordpress.org/trunk@6050 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 22:07:23 +00:00
Ryan Boren
459a358e04 Resurrect hide_empty
git-svn-id: https://develop.svn.wordpress.org/trunk@6048 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 04:34:06 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Mark Jaquith
71820cb422 Correct variable name in clean_object_term_cache(). props arnee. fixes #4888
git-svn-id: https://develop.svn.wordpress.org/trunk@6007 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 05:08:48 +00:00
Ryan Boren
78c09303ac Make sure term cache is cleared when updating term counts.
git-svn-id: https://develop.svn.wordpress.org/trunk@5983 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 00:34:55 +00:00
Ryan Boren
3910be3880 Include tags in feeds. fixes #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5979 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 21:10:20 +00:00
Ryan Boren
48120ed74b Add clean_url filter. see #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@5952 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 23:31:09 +00:00
Ryan Boren
a1b51966d7 Don't pass cat as ref. Fix some term sanitization. fixes #4702
git-svn-id: https://develop.svn.wordpress.org/trunk@5938 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 18:41:01 +00:00
Ryan Boren
aa0ab82ecd Update WP importer to use taxonomy and query cat based on slug. see #4613
git-svn-id: https://develop.svn.wordpress.org/trunk@5937 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-24 14:44:26 +00:00
Ryan Boren
d8adefe0b2 bookmark sanitizer funcs and default filter cleanup. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:50:04 +00:00
Ryan Boren
b2d8f1bd12 First cut of taxonomy API phpdoc from darkdragon. see #4742
git-svn-id: https://develop.svn.wordpress.org/trunk@5896 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:22:37 +00:00
Ryan Boren
9d8324b07b wp_update_term_count fixes from cavemonkey50. fixes #4500
git-svn-id: https://develop.svn.wordpress.org/trunk@5866 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:54:02 +00:00
Ryan Boren
ebf9ab90b6 sanitize the value, not the field. Props cavemonkey50. fixes #4651
git-svn-id: https://develop.svn.wordpress.org/trunk@5865 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 02:46:06 +00:00
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