Commit Graph

2677 Commits

Author SHA1 Message Date
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 11c44b277c Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2696 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 06:27:04 +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
Ryan Boren 31e3ad71be Remove extra logIOs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2694 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:34:04 +00:00
Ryan Boren 506091a710 XMLRPC category fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2693 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:33:03 +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 a2bb87e071 Wrong translation and indentation fix, fixes #1373
git-svn-id: https://develop.svn.wordpress.org/trunk@2689 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:44:35 +00:00
Matt Mullenweg a990a51b42 Unecessary query, fixes #1456
git-svn-id: https://develop.svn.wordpress.org/trunk@2688 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:41:07 +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 08ab1b910a Output not echo, fixes #1465
git-svn-id: https://develop.svn.wordpress.org/trunk@2686 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:37:08 +00:00
Matt Mullenweg 8addfabdd7 Indentation and correct response link when no comments, fixes #1408
git-svn-id: https://develop.svn.wordpress.org/trunk@2685 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:35:36 +00:00
Matt Mullenweg 8ed932864f Better escaping from class, fixes #1394
git-svn-id: https://develop.svn.wordpress.org/trunk@2684 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:31:43 +00:00
Ryan Boren 15a525e6dc Make sure cat list is an array. Props: Peter Westwood
git-svn-id: https://develop.svn.wordpress.org/trunk@2683 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 17:28:06 +00:00
Ryan Boren 545507c3b6 Default category and pingback check fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2680 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-30 16:07:42 +00:00
Ryan Boren 34808989fb Don't escape image bits.
git-svn-id: https://develop.svn.wordpress.org/trunk@2676 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-30 00:12:18 +00:00
Ryan Boren a2e8b43f54 Don't escape objects.
git-svn-id: https://develop.svn.wordpress.org/trunk@2674 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 17:01:11 +00:00
Matt Mullenweg 90afdb5e98 We don't think these are needed...
git-svn-id: https://develop.svn.wordpress.org/trunk@2671 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 00:44:02 +00:00
Ryan Boren 12d2d9d0e0 Escape XMLRPC args.
git-svn-id: https://develop.svn.wordpress.org/trunk@2668 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-28 22:16:27 +00:00
Ryan Boren 03997fb239 url_to_postid() fixes from Mark Jaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@2665 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-27 22:02:57 +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 dfe87eb5f7 Quote IDs in get queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2663 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 20:44:58 +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 a6881402ef Initialize message before concat.
git-svn-id: https://develop.svn.wordpress.org/trunk@2658 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-24 01:22:55 +00:00
Ryan Boren 62366e5403 Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 02:03:35 +00:00
Ryan Boren c8b7b7e47b Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: https://develop.svn.wordpress.org/trunk@2656 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:40:52 +00:00
Ryan Boren 337a17904f Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
git-svn-id: https://develop.svn.wordpress.org/trunk@2655 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:30:39 +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 751ce0f454 Don't stomp post_ID in mw_editPost(). Pass TB URIs to wp_update_post() and wp_insert_post() instead of directly calling trackback_url_list(). #1452
git-svn-id: https://develop.svn.wordpress.org/trunk@2653 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 03:30:46 +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 6c6763cd3e Use instead of hardcoding 1. Do we really need a separate default category for XMLRPC posting?
git-svn-id: https://develop.svn.wordpress.org/trunk@2649 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:21:37 +00:00
Ryan Boren f2d1f8460f Use default_category option if not cat specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@2648 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:17:55 +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
Matt Mullenweg cd7cb0c110 Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-15 18:49:47 +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
Ryan Boren 1b4bc53f13 Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2640 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 22:54:58 +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 6f9483fbe4 Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@2637 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:38:42 +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
Ryan Boren 8a2da7e506 Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@2635 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 02:09:24 +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 7f7c72cbe2 More user
git-svn-id: https://develop.svn.wordpress.org/trunk@2633 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:22:06 +00:00