Commit Graph

1162 Commits

Author SHA1 Message Date
matt
13f492ab75 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: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
matt
233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
ryan
91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
ryan
a79476f1e7 wp_delete_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 22:03:42 +00:00
ryan
cbce881c2b register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 21:53:26 +00:00
ryan
740381afdf wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 19:26:51 +00:00
matt
e2d9a4c765 Ugly escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@2692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:42:11 +00:00
ryan
5edea3a5cd Fix ID in confirmdeletecomment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:34:55 +00:00
matt
df98e352ac Update includes in import files, fixes #1427
git-svn-id: http://svn.automattic.com/wordpress/trunk@2687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:39:29 +00:00
matt
aa4556ab08 Make it a page
git-svn-id: http://svn.automattic.com/wordpress/trunk@2664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-27 18:16:16 +00:00
ryan
8b55719431 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-26 19:55:12 +00:00
ryan
16efd6a7f3 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: http://svn.automattic.com/wordpress/trunk@2654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 23:44:22 +00:00
ryan
4cb88cef6e Page editing form cleaning and repair.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 03:07:16 +00:00
ryan
0b7373e0cc Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 02:51:48 +00:00
ryan
477f109d97 Consolidate post update code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 01:33:38 +00:00
ryan
5cfc1a248b Consolidate post creation code into wp_insert_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:08:38 +00:00
ryan
a4d31a1e5f Don't need to include blog header when you've got wp().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-17 00:59:58 +00:00
matt
0887b4b554 Add a default About page on install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 09:05:06 +00:00
ryan
2c44f33f78 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: http://svn.automattic.com/wordpress/trunk@2644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 06:27:30 +00:00
ryan
f220786deb Set display_name only if the user table still containts id_mode. This prevents multiple upgrades from stomping display_name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 06:14:07 +00:00
ryan
06cc5c6677 DB escape fields inserted into usermeta table. Hide errors when dropping old columns from user table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 23:22:55 +00:00
matt
4a25d166b4 New schmancy posting interface
git-svn-id: http://svn.automattic.com/wordpress/trunk@2639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 07:31:36 +00:00
matt
1851ed7f78 Let's be a little more discrete ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 09:06:30 +00:00
matt
1f9a608be9 User data migration should be complete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 08:32:44 +00:00
matt
a08b652698 More user fixups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 00:05:41 +00:00
matt
de9cc8b12c More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:14:52 +00:00
matt
0c17753031 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: http://svn.automattic.com/wordpress/trunk@2631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 20:49:13 +00:00
matt
c3b27c3a39 Planning waaay ahead, all INTs should match.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 07:05:07 +00:00
matt
1613a1e1ab Adding profile update hook, fixes #1434
git-svn-id: http://svn.automattic.com/wordpress/trunk@2628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 23:33:58 +00:00
matt
1f4e4017d2 Allow filtering of options
git-svn-id: http://svn.automattic.com/wordpress/trunk@2624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 08:51:40 +00:00
matt
09adfadae0 Better headers for CGI enviroments
git-svn-id: http://svn.automattic.com/wordpress/trunk@2623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-09 00:17:43 +00:00
matt
e2f1542016 http://mosquito.wordpress.org/view.php?id=1351 - Hat tip: Dangerous Dougal
git-svn-id: http://svn.automattic.com/wordpress/trunk@2605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:47:39 +00:00
matt
32cb17c3dd http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
git-svn-id: http://svn.automattic.com/wordpress/trunk@2604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:45:51 +00:00
matt
4b538e243c Addding check_admin_referer hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@2595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 18:26:53 +00:00
matt
552c4ad4b8 Usability hooks into wp.org
git-svn-id: http://svn.automattic.com/wordpress/trunk@2594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 11:37:36 +00:00
matt
70ae8e667b Better config include in admin - http://mosquito.wordpress.org/view.php?id=1307
git-svn-id: http://svn.automattic.com/wordpress/trunk@2592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 11:06:45 +00:00
matt
8f48c9ca99 Remove reference to old wiki - http://mosquito.wordpress.org/view.php?id=1317
git-svn-id: http://svn.automattic.com/wordpress/trunk@2590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 11:01:12 +00:00
matt
d63d15600a Fix for http://mosquito.wordpress.org/view.php?id=1306
git-svn-id: http://svn.automattic.com/wordpress/trunk@2587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-07 00:08:27 +00:00
matt
95883b9211 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: http://svn.automattic.com/wordpress/trunk@2581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-03 07:52:11 +00:00
ryan
75af9cc6b6 Correctly set comment and ping status when publishing from advanced edit page. http://mosquito.wordpress.org/view.php?id=877 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-24 04:19:19 +00:00
ryan
5be251dbe9 Mark 'All options' for translation. http://mosquito.wordpress.org/view.php?id=1281 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-23 17:36:33 +00:00
ryan
db7f896a2f Mark strings for localization. http://mosquito.wordpress.org/view.php?id=1272 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-22 00:16:48 +00:00
ryan
9d12ebaed3 gettext check_admin_referer() error message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-21 06:49:17 +00:00
ryan
3518ab235e Make greymatter importer less ugly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 23:02:30 +00:00
ryan
4dad093159 Update greymatter importer to use wpdb. Needs testing, but it can't be more broken than before. :-)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 22:30:23 +00:00
matt
584fb345bd Rolling back auto-save
git-svn-id: http://svn.automattic.com/wordpress/trunk@2559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 19:19:07 +00:00
matt
c377504cd3 More sanitization cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 04:06:37 +00:00
ryan
add01ff78a Bail if the theme does not exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 21:41:35 +00:00
matt
8e076bda03 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: http://svn.automattic.com/wordpress/trunk@2552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 17:24:05 +00:00
matt
f3031d20db Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: http://svn.automattic.com/wordpress/trunk@2548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:35:48 +00:00