Commit Graph

52 Commits

Author SHA1 Message Date
Ryan Boren 5519b22a3c Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@5272 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 02:30:00 +00:00
Ryan Boren 424a7906c0 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5271 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 02:26:26 +00:00
Ryan Boren 8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
rob1n 8a155e75f5 Add exit hook to wp_delete_link(). Props kevinB. fixes #4078
git-svn-id: https://develop.svn.wordpress.org/trunk@5177 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 04:25:44 +00:00
Matt Mullenweg 3d7bc44610 Use category_exists instead of a direct query.
git-svn-id: https://develop.svn.wordpress.org/trunk@5162 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:38:51 +00:00
rob1n c37bf4c8d5 Add exit hooks to wp_insert_category(). Props kevinB. fixes #4056
git-svn-id: https://develop.svn.wordpress.org/trunk@5157 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 21:33:33 +00:00
Matt Mullenweg 4e3b757f81 Don't dupe categories when adding new ones, use the existing ID.
git-svn-id: https://develop.svn.wordpress.org/trunk@5148 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 05:22:10 +00:00
Ryan Boren d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 71bbe5ffb4 Quote values heading to DB. Cast some ints.
git-svn-id: https://develop.svn.wordpress.org/trunk@5029 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 16:09:44 +00:00
Ryan Boren e0e0a113ef Cat ID filter relo. Props donncha. fixes #3591
git-svn-id: https://develop.svn.wordpress.org/trunk@4749 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:15:10 +00:00
Mark Jaquith f4b6050d20 wp_delete_category() tweaks and code consolidation. fixes #3463
git-svn-id: https://develop.svn.wordpress.org/trunk@4639 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-10 20:53:05 +00:00
Mark Jaquith 86b5ea4591 cat_id_filter from Donncha. fixes #3458
git-svn-id: https://develop.svn.wordpress.org/trunk@4638 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-10 20:27:20 +00:00
Ryan Boren ba54bd7839 Some caching cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4631 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 07:35:45 +00:00
Ryan Boren cce9bce2cb Fix typo. fixes #3387
git-svn-id: https://develop.svn.wordpress.org/trunk@4534 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-26 18:00:53 +00:00
Ryan Boren 15600c640e Caching fixes and cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4528 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 20:44:03 +00:00
Ryan Boren 2bdfce3c20 cat_is_ancestor_of(). fixes #3387
git-svn-id: https://develop.svn.wordpress.org/trunk@4525 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 16:37:44 +00:00
Ryan Boren f74d084276 Key caches by blog ID for those doing the multi blog trick.
git-svn-id: https://develop.svn.wordpress.org/trunk@4524 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 20:39:39 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 57ac4aeef6 Don't allow a category to be it's own parent. Props donncha. fixes #3278
git-svn-id: https://develop.svn.wordpress.org/trunk@4490 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 01:12:36 +00:00
Mark Jaquith 5b568f3bf2 Order get_editable_authors() by display_name. Props Paolo Gabrielli. fixes #2370
git-svn-id: https://develop.svn.wordpress.org/trunk@4364 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-10 04:16:12 +00:00
Ryan Boren d1ff29a59a Use wp_dropdown_categories(). Fix padding. Don't allow a cat to be it's own parent. Props westi. fixes #3088
git-svn-id: https://develop.svn.wordpress.org/trunk@4156 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 20:38:24 +00:00
Ryan Boren 4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren d44fdf7d33 Category Ajax improvements from mdawaffe. fixes #2803
git-svn-id: https://develop.svn.wordpress.org/trunk@4041 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-25 06:36:10 +00:00
Ryan Boren e06934b624 Don't allow blank cats. Props donncha. fixes #2960
git-svn-id: https://develop.svn.wordpress.org/trunk@4022 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-20 01:30:37 +00:00
Ryan Boren 7d67615208 Relocate delete_user action. Props filosofo. fixes #2956
git-svn-id: https://develop.svn.wordpress.org/trunk@4020 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-17 17:12:37 +00:00
Ryan Boren 53d59dd1f0 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: https://develop.svn.wordpress.org/trunk@3849 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-06 05:04:41 +00:00
Ryan Boren 27bc07a27f Reorg bookmark functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3845 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 02:12:59 +00:00
Ryan Boren 041d63a599 Add some user filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@3800 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 22:47:13 +00:00
Ryan Boren e29ccde9a1 Add some category filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@3799 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 22:14:55 +00:00
Ryan Boren 8cdd21978f Add wp_revoke_user() and WP_User::remove_all_caps() to help those doing multi blog stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3705 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:49:38 +00:00
Ryan Boren 6768503353 Use default_link_category.
git-svn-id: https://develop.svn.wordpress.org/trunk@3700 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-07 22:28:57 +00:00
Ryan Boren cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00
Ryan Boren a2f5fa5254 Bookmark/link rework. #2499
git-svn-id: https://develop.svn.wordpress.org/trunk@3570 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 04:57:30 +00:00
Ryan Boren b8dd301bf4 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: https://develop.svn.wordpress.org/trunk@3528 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 06:23:03 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren 35258f7f4c Use API.
git-svn-id: https://develop.svn.wordpress.org/trunk@3350 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 23:10:59 +00:00
Ryan Boren c91c804b9a Update cache when editing categories. fixes #2127
git-svn-id: https://develop.svn.wordpress.org/trunk@3341 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 20:32:12 +00:00
Ryan Boren 4957068837 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: https://develop.svn.wordpress.org/trunk@3330 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:14:22 +00:00
Ryan Boren 2ec76f2801 Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: https://develop.svn.wordpress.org/trunk@3285 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:22:47 +00:00
Ryan Boren 35dcc72e9b Delete user's usermeta when deleting the user.
git-svn-id: https://develop.svn.wordpress.org/trunk@3270 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 05:17:28 +00:00
Ryan Boren b6a751dc30 Make sure user_login keyed caches are cleared upon change.
git-svn-id: https://develop.svn.wordpress.org/trunk@3254 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 17:38:37 +00:00
Ryan Boren 0807aea81d Add delete_link action. fixes #1926
git-svn-id: https://develop.svn.wordpress.org/trunk@3175 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 08:06:18 +00:00
Matt Mullenweg 92390480d7 Debug string?
git-svn-id: https://develop.svn.wordpress.org/trunk@3059 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:21:44 +00:00
Ryan Boren c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Ryan Boren 2c9426d447 Category parent fix from donncha. fixes #1775
git-svn-id: https://develop.svn.wordpress.org/trunk@2959 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:50:31 +00:00
Ryan Boren e4d15f3596 Oops. Patch didn't apply cleanly. fixes #1750
git-svn-id: https://develop.svn.wordpress.org/trunk@2947 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-13 18:59:10 +00:00
Ryan Boren 5399c5f576 Category insert cleanup from donncha. fixes #1750
git-svn-id: https://develop.svn.wordpress.org/trunk@2946 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-13 18:17:05 +00:00
Ryan Boren 3757394e6d Move some fxns to admin-db.
git-svn-id: https://develop.svn.wordpress.org/trunk@2937 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-06 17:26:06 +00:00
Ryan Boren 0bd0cd8b33 Partial migration to roles.
git-svn-id: https://develop.svn.wordpress.org/trunk@2900 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-21 05:13:49 +00:00