Commit Graph

55 Commits

Author SHA1 Message Date
ryan 85e538c36d Don't return before doing actions. Props nbachiyski. fixes #4629 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-13 18:30:06 +00:00
ryan 5d334e880a Use EXTR_SKIP when extracting. For 2.2. See #4468
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 17:45:21 +00:00
markjaquith a9b5bc0f13 Roll tags out of 2.2 -- reverts [5272], [5271], [5257], [5254], [5253], [5251], [5250], [5243], [5235], [5234], [5232], [5231], [5229], [5228], [5217], [5216], [5215], [5213], half of [5210], [5209], [5205], [5203], [5201], [5196], [5184], [5168], [5163], [5162], [5150], [5149], [5148], [5147], [5113], [5112], [5111], and [5110]
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 22:26:52 +00:00
ryan 049b86dea5 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@5272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-15 02:30:00 +00:00
ryan f651ce93c3 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-15 02:26:26 +00:00
ryan 00e9ff778a Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
rob1n 57cf80f5d1 Add exit hook to wp_delete_link(). Props kevinB. fixes #4078
git-svn-id: http://svn.automattic.com/wordpress/trunk@5177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 04:25:44 +00:00
matt 3bf8b1699a Use category_exists instead of a direct query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:38:51 +00:00
rob1n b9ddc875bf Add exit hooks to wp_insert_category(). Props kevinB. fixes #4056
git-svn-id: http://svn.automattic.com/wordpress/trunk@5157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 21:33:33 +00:00
matt 2706ae78bd Don't dupe categories when adding new ones, use the existing ID.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 05:22:10 +00:00
ryan e9e3e0787d Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan 4bfbba990b Quote values heading to DB. Cast some ints.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 16:09:44 +00:00
ryan e907e8d6d1 Cat ID filter relo. Props donncha. fixes #3591
git-svn-id: http://svn.automattic.com/wordpress/trunk@4749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:15:10 +00:00
markjaquith 448c02eed3 wp_delete_category() tweaks and code consolidation. fixes #3463
git-svn-id: http://svn.automattic.com/wordpress/trunk@4639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 20:53:05 +00:00
markjaquith 5ce03d44bb cat_id_filter from Donncha. fixes #3458
git-svn-id: http://svn.automattic.com/wordpress/trunk@4638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-10 20:27:20 +00:00
ryan 203f6c5ab4 Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-08 07:35:45 +00:00
ryan 950ad14094 Fix typo. fixes #3387
git-svn-id: http://svn.automattic.com/wordpress/trunk@4534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-26 18:00:53 +00:00
ryan 43fca5536b Caching fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 20:44:03 +00:00
ryan 889ff09208 cat_is_ancestor_of(). fixes #3387
git-svn-id: http://svn.automattic.com/wordpress/trunk@4525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:37:44 +00:00
ryan 814a2b0c1c Key caches by blog ID for those doing the multi blog trick.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-23 20:39:39 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan 2390613e37 Don't allow a category to be it's own parent. Props donncha. fixes #3278
git-svn-id: http://svn.automattic.com/wordpress/trunk@4490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 01:12:36 +00:00
markjaquith 3363763240 Order get_editable_authors() by display_name. Props Paolo Gabrielli. fixes #2370
git-svn-id: http://svn.automattic.com/wordpress/trunk@4364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-10 04:16:12 +00:00
ryan 02ad124b46 Use wp_dropdown_categories(). Fix padding. Don't allow a cat to be it's own parent. Props westi. fixes #3088
git-svn-id: http://svn.automattic.com/wordpress/trunk@4156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-01 20:38:24 +00:00
ryan 207d876c81 Make those chars feel special.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 22:33:16 +00:00
ryan c2a613422c Category Ajax improvements from mdawaffe. fixes #2803
git-svn-id: http://svn.automattic.com/wordpress/trunk@4041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-25 06:36:10 +00:00
ryan 9094543b51 Don't allow blank cats. Props donncha. fixes #2960
git-svn-id: http://svn.automattic.com/wordpress/trunk@4022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-20 01:30:37 +00:00
ryan 0559786a79 Relocate delete_user action. Props filosofo. fixes #2956
git-svn-id: http://svn.automattic.com/wordpress/trunk@4020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-17 17:12:37 +00:00
ryan 0585475e02 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 05:04:41 +00:00
ryan 19ea5fb78f Reorg bookmark functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-05 02:12:59 +00:00
ryan 1dff136d6f Add some user filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 22:47:13 +00:00
ryan 70276282ad Add some category filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 22:14:55 +00:00
ryan b1af79fb05 Add wp_revoke_user() and WP_User::remove_all_caps() to help those doing multi blog stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-13 04:49:38 +00:00
ryan 41ebe38cb4 Use default_link_category.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-07 22:28:57 +00:00
ryan baa30dd4d8 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: http://svn.automattic.com/wordpress/trunk@3660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-29 01:51:55 +00:00
ryan e9c75f4bd2 Bookmark/link rework. #2499
git-svn-id: http://svn.automattic.com/wordpress/trunk@3570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 04:57:30 +00:00
ryan bcb996e5d3 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: http://svn.automattic.com/wordpress/trunk@3528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 06:23:03 +00:00
ryan dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan a8652d0823 Use API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 23:10:59 +00:00
ryan 8b686cdc2d Update cache when editing categories. fixes #2127
git-svn-id: http://svn.automattic.com/wordpress/trunk@3341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 20:32:12 +00:00
ryan a626f32296 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: http://svn.automattic.com/wordpress/trunk@3330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:14:22 +00:00
ryan 157aecdf6e Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:22:47 +00:00
ryan fbaf9428a0 Delete user's usermeta when deleting the user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 05:17:28 +00:00
ryan 9de108b9bf Make sure user_login keyed caches are cleared upon change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 17:38:37 +00:00
ryan 1e0500a8e3 Add delete_link action. fixes #1926
git-svn-id: http://svn.automattic.com/wordpress/trunk@3175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 08:06:18 +00:00
matt 5fbc876db8 Debug string?
git-svn-id: http://svn.automattic.com/wordpress/trunk@3059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 04:21:44 +00:00
ryan 85723b8944 Object caching, round one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 21:56:03 +00:00
ryan 54d4d7fcf1 Category parent fix from donncha. fixes #1775
git-svn-id: http://svn.automattic.com/wordpress/trunk@2959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-20 20:50:31 +00:00
ryan f95b357e8d Oops. Patch didn't apply cleanly. fixes #1750
git-svn-id: http://svn.automattic.com/wordpress/trunk@2947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-13 18:59:10 +00:00