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 |
|