Commit Graph

82 Commits

Author SHA1 Message Date
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 0c2daa617d Protection against multiple trackbacks in one bunch from markjaquith. fixes #1817
git-svn-id: https://develop.svn.wordpress.org/trunk@2996 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 04:02:12 +00:00
Ryan Boren de8d78270a If post_date_gmt is not supplied, derive it from post_date instead of current time.
git-svn-id: https://develop.svn.wordpress.org/trunk@2969 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 04:34:49 +00:00
Ryan Boren df1f4e7389 Don't process enclosures when importing. Props: skeltoac. fixes #1771
git-svn-id: https://develop.svn.wordpress.org/trunk@2953 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-17 23:45:50 +00:00
Ryan Boren ae85f7064b wp_attach_object threading fix ups. fixes #1760 #1758
git-svn-id: https://develop.svn.wordpress.org/trunk@2949 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-14 18:06:23 +00:00
Ryan Boren 561c9d7ff3 Remove thread unsafe Auto_increment tricks. fixes #1753
git-svn-id: https://develop.svn.wordpress.org/trunk@2948 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-13 19:06:31 +00:00
Ryan Boren 097080a29e wp_delete_object() and image popup from skeltoac. fixes #1731
git-svn-id: https://develop.svn.wordpress.org/trunk@2929 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-04 17:38:04 +00:00
Ryan Boren 1f4f968040 Image uploading widget from skeltoac. fixes #1710
git-svn-id: https://develop.svn.wordpress.org/trunk@2921 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 23:55:36 +00:00
Ryan Boren 9441bb9093 wp_insert_comment(), wp_update_comment(), wp_allow_comment(), and wp_filter_comment() from skeltoac. fixes #1683
git-svn-id: https://develop.svn.wordpress.org/trunk@2894 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-20 03:17:43 +00:00
Matt Mullenweg 6d4f063c69 Fixes #1681 and the annoying empty meta problem.
git-svn-id: https://develop.svn.wordpress.org/trunk@2887 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 17:27:09 +00:00
Ryan Boren c8cb9b4236 wp_insert_post() return value fix from skeltoac. fixes #1678
git-svn-id: https://develop.svn.wordpress.org/trunk@2878 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-15 23:34:54 +00:00
Ryan Boren 3c12867919 Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
git-svn-id: https://develop.svn.wordpress.org/trunk@2873 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:34:04 +00:00
Ryan Boren 97a7959a71 Don't ping when importing.
git-svn-id: https://develop.svn.wordpress.org/trunk@2865 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-10 22:44:14 +00:00
Ryan Boren 5932ee4425 Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
git-svn-id: https://develop.svn.wordpress.org/trunk@2833 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 16:56:28 +00:00
Matt Mullenweg 3f1fe52b6e Make posting faster. Fixes #1580 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2828 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:19:32 +00:00
Matt Mullenweg 593b6b49ab You should be able to change the defaults
git-svn-id: https://develop.svn.wordpress.org/trunk@2753 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-05 20:44:18 +00:00
Matt Mullenweg b480c75559 Adding some hooks, fixes #1489
git-svn-id: https://develop.svn.wordpress.org/trunk@2743 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:40:42 +00:00
Ryan Boren 235345a916 Move user_can_*() functions to capabilities.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@2713 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:27:01 +00:00
Ryan Boren 7e94ba45c5 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2712 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:24:08 +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
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 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 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 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
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
Ryan Boren 0edec9ae9e Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
git-svn-id: https://develop.svn.wordpress.org/trunk@2612 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 03:17:55 +00:00
Ryan Boren e932142953 Fix comment auto-approval for authors/admins. http://mosquito.wordpress.org/view.php?id=1291 Props: kim, coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2576 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-27 23:55:06 +00:00
Matt Mullenweg acf9076fc0 Dupe comment check - http://mosquito.wordpress.org/view.php?id=1265
git-svn-id: https://develop.svn.wordpress.org/trunk@2561 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:56:28 +00:00
Matt Mullenweg 2e3c23045c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: https://develop.svn.wordpress.org/trunk@2556 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 03:37:23 +00:00
Ryan Boren a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren d381ae36da Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: https://develop.svn.wordpress.org/trunk@2453 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 03:39:02 +00:00
Ryan Boren 1e268f40ac Apply filters to trackback content. http://mosquito.wordpress.org/view.php?id=1085 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2442 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 00:55:21 +00:00
Matt Mullenweg 440dbf0efa Missing;
git-svn-id: https://develop.svn.wordpress.org/trunk@2408 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-05 02:02:15 +00:00
Matt Mullenweg 651f4d0631 Fix from Michel for XML-RPC error - http://mosquito.wordpress.org/view.php?id=829
git-svn-id: https://develop.svn.wordpress.org/trunk@2407 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-04 20:43:57 +00:00
Dougal Campbell 0a24ddec5a Oops. Stupid typo. Thanks, Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2358 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 22:01:52 +00:00
Dougal Campbell 586092fa0a This really deserves to be in a separate function so that plugins can get at it more easily, don't you think?
git-svn-id: https://develop.svn.wordpress.org/trunk@2357 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 21:35:58 +00:00
Matt Mullenweg a5fec00554 Don't let there be duplicate post_names
git-svn-id: https://develop.svn.wordpress.org/trunk@2323 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:51:14 +00:00
Matt Mullenweg fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg 4bfdef5908 Don't show pages or objects in recent posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@2281 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 05:25:09 +00:00
Matt Mullenweg 322382ae61 Allow setting of post_parent - http://mosquito.wordpress.org/view.php?id=111
git-svn-id: https://develop.svn.wordpress.org/trunk@2269 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 03:36:49 +00:00
Ryan Boren e90040e79b Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00
Ryan Boren cac9401e0b Respect the mode. Props: ringmaster. http://mosquito.wordpress.org/view.php?id=804
git-svn-id: https://develop.svn.wordpress.org/trunk@2225 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 20:45:50 +00:00
Matt Mullenweg 1832211054 Adding support for a proxy-specific RBL that has shown to be extremely effective
git-svn-id: https://develop.svn.wordpress.org/trunk@2199 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 08:40:44 +00:00
Ryan Boren 02a701f72b Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Matt Mullenweg f6a27d19b0 Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2166 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 06:38:12 +00:00
Matt Mullenweg 5671e81028 More filters and KSES cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2151 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:29:18 +00:00
Matt Mullenweg 97691eb22b Typo in filter
git-svn-id: https://develop.svn.wordpress.org/trunk@2150 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 20:35:13 +00:00
Matt Mullenweg 9533069e21 Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705
git-svn-id: https://develop.svn.wordpress.org/trunk@2138 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 08:27:53 +00:00