Commit Graph

1173 Commits

Author SHA1 Message Date
Ryan Boren
268fc9f7a1 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2720 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:29:55 +00:00
Ryan Boren
21a150eefa touch_time() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2719 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:02:05 +00:00
Ryan Boren
3b6dbfb88a Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2718 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:59:14 +00:00
Ryan Boren
9527e184fe More cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 02:16:45 +00:00
Ryan Boren
ffdd8033aa Inverted logic. Should fix problem where user display name is stomped during upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@2710 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-14 22:53:56 +00:00
Ryan Boren
5dbb58cd91 Migrate to caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2709 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 22:26:26 +00:00
Ryan Boren
645de9da17 Fill out level caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2708 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 20:16:06 +00:00
Ryan Boren
90d7668a03 Setup admin's role during install. Props: Owen Winkler. fixes #1505
git-svn-id: https://develop.svn.wordpress.org/trunk@2707 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 19:55:05 +00:00
Ryan Boren
3c68ad0b0f Move menus from levels to capabilities.
git-svn-id: https://develop.svn.wordpress.org/trunk@2705 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 16:04:14 +00:00
Ryan Boren
d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren
19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg
810e0018f4 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Matt Mullenweg
5bd6027fbd Drafts clean up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2701 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-08 22:59:15 +00:00
Ryan Boren
b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren
bcb1e84446 wp_delete_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@2698 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 22:03:42 +00:00
Ryan Boren
37f40b7935 register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Ryan Boren
01fef613ff wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2695 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 19:26:51 +00:00
Matt Mullenweg
b5675c3c05 Ugly escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@2692 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:42:11 +00:00
Ryan Boren
12d6518279 Fix ID in confirmdeletecomment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2691 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:34:55 +00:00
Matt Mullenweg
60ce1eb0d9 Update includes in import files, fixes #1427
git-svn-id: https://develop.svn.wordpress.org/trunk@2687 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:39:29 +00:00
Matt Mullenweg
83538ff38b Make it a page
git-svn-id: https://develop.svn.wordpress.org/trunk@2664 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-27 18:16:16 +00:00
Ryan Boren
706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren
9e63ebda78 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: https://develop.svn.wordpress.org/trunk@2654 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 23:44:22 +00:00
Ryan Boren
68571f0e05 Page editing form cleaning and repair.
git-svn-id: https://develop.svn.wordpress.org/trunk@2652 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 03:07:16 +00:00
Ryan Boren
2b50612117 Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2651 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 02:51:48 +00:00
Ryan Boren
67846fb123 Consolidate post update code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2650 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 01:33:38 +00:00
Ryan Boren
15dc0c3307 Consolidate post creation code into wp_insert_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@2647 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:08:38 +00:00
Ryan Boren
656c1c1f03 Don't need to include blog header when you've got wp().
git-svn-id: https://develop.svn.wordpress.org/trunk@2646 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-17 00:59:58 +00:00
Matt Mullenweg
8820dc2c4c Add a default About page on install.
git-svn-id: https://develop.svn.wordpress.org/trunk@2645 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 09:05:06 +00:00
Ryan Boren
80f1695619 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@2644 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:27:30 +00:00
Ryan Boren
c93f379092 Set display_name only if the user table still containts id_mode. This prevents multiple upgrades from stomping display_name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2643 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:14:07 +00:00
Ryan Boren
125542ecab DB escape fields inserted into usermeta table. Hide errors when dropping old columns from user table.
git-svn-id: https://develop.svn.wordpress.org/trunk@2641 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 23:22:55 +00:00
Matt Mullenweg
afc06a6f56 New schmancy posting interface
git-svn-id: https://develop.svn.wordpress.org/trunk@2639 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 07:31:36 +00:00
Matt Mullenweg
cd3fcfab4c Let's be a little more discrete ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@2638 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 09:06:30 +00:00
Matt Mullenweg
f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Matt Mullenweg
8d1546d25f More user fixups
git-svn-id: https://develop.svn.wordpress.org/trunk@2634 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 00:05:41 +00:00
Matt Mullenweg
47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Matt Mullenweg
1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Matt Mullenweg
bc9032534e Planning waaay ahead, all INTs should match.
git-svn-id: https://develop.svn.wordpress.org/trunk@2629 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 07:05:07 +00:00
Matt Mullenweg
a94ad3b4da Adding profile update hook, fixes #1434
git-svn-id: https://develop.svn.wordpress.org/trunk@2628 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:33:58 +00:00
Matt Mullenweg
5a7601b50c Allow filtering of options
git-svn-id: https://develop.svn.wordpress.org/trunk@2624 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 08:51:40 +00:00
Matt Mullenweg
a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg
7e42be87ae http://mosquito.wordpress.org/view.php?id=1351 - Hat tip: Dangerous Dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2605 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:47:39 +00:00
Matt Mullenweg
202758f35d http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
git-svn-id: https://develop.svn.wordpress.org/trunk@2604 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:45:51 +00:00
Matt Mullenweg
2f8b416e93 Addding check_admin_referer hook
git-svn-id: https://develop.svn.wordpress.org/trunk@2595 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 18:26:53 +00:00
Matt Mullenweg
fe818f8ebf Usability hooks into wp.org
git-svn-id: https://develop.svn.wordpress.org/trunk@2594 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 11:37:36 +00:00
Matt Mullenweg
b916bca219 Better config include in admin - http://mosquito.wordpress.org/view.php?id=1307
git-svn-id: https://develop.svn.wordpress.org/trunk@2592 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 11:06:45 +00:00
Matt Mullenweg
394f51ddad Remove reference to old wiki - http://mosquito.wordpress.org/view.php?id=1317
git-svn-id: https://develop.svn.wordpress.org/trunk@2590 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 11:01:12 +00:00
Matt Mullenweg
0a7ec26175 Fix for http://mosquito.wordpress.org/view.php?id=1306
git-svn-id: https://develop.svn.wordpress.org/trunk@2587 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-07 00:08:27 +00:00
Matt Mullenweg
9648173c70 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: https://develop.svn.wordpress.org/trunk@2581 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:52:11 +00:00