Commit Graph

67 Commits

Author SHA1 Message Date
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
Ryan Boren 11d220ba2f Used the filtered vars, not the unfiltered ones. Bug 641.
git-svn-id: https://develop.svn.wordpress.org/trunk@2112 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 02:55:35 +00:00
Matt Mullenweg 7577e661b5 http://mosquito.wordpress.org/view.php?id=684
git-svn-id: https://develop.svn.wordpress.org/trunk@2097 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 01:07:53 +00:00
Matt Mullenweg 5f52d2717d Check everything for entities.
git-svn-id: https://develop.svn.wordpress.org/trunk@2085 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 22:42:09 +00:00
Matt Mullenweg 2e5a49bea1 http://mosquito.wordpress.org/view.php?id=668
git-svn-id: https://develop.svn.wordpress.org/trunk@2082 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 18:47:07 +00:00
Matt Mullenweg 85cca48589 Whitelist trackbacks and pingbacks from domains in blogroll.
git-svn-id: https://develop.svn.wordpress.org/trunk@2077 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 23:21:42 +00:00
Matt Mullenweg 063ab31a4f Add more hooks into commenting.
git-svn-id: https://develop.svn.wordpress.org/trunk@2076 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 20:26:10 +00:00
Matt Mullenweg 3696312ac7 Spam tastes great, we should eat more of it. Add 'spam' approval value, and basic blacklist.
git-svn-id: https://develop.svn.wordpress.org/trunk@2075 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 20:21:06 +00:00
Matt Mullenweg 1eb6a8e91d http://mosquito.wordpress.org/view.php?id=608
git-svn-id: https://develop.svn.wordpress.org/trunk@2064 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:21:12 +00:00
Matt Mullenweg 6ca2c31abd http://mosquito.wordpress.org/view.php?id=521
git-svn-id: https://develop.svn.wordpress.org/trunk@2062 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:11:51 +00:00
Ryan Boren 785835599e Add preprocess_comment filter to enable filtering all comment data in one go. Patch from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@2048 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-05 21:11:42 +00:00
Matt Mullenweg 0717e39156 When deleting a page level up all children.
git-svn-id: https://develop.svn.wordpress.org/trunk@2030 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 23:13:38 +00:00
Matt Mullenweg 455abe8ff1 Comment notification fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1970 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 10:25:00 +00:00
Matt Mullenweg b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg 953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Ryan Boren 7a8b254be0 s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.
git-svn-id: https://develop.svn.wordpress.org/trunk@1920 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 02:35:53 +00:00