Commit Graph

65 Commits

Author SHA1 Message Date
ryan
40a99fc9a1 Move user_can_*() functions to capabilities.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:27:01 +00:00
ryan
2f6ae330c0 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:24:08 +00:00
ryan
54766eade4 XMLRPC category fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 18:33:03 +00:00
ryan
56c304f8bb Make sure cat list is an array. Props: Peter Westwood
git-svn-id: http://svn.automattic.com/wordpress/trunk@2683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 17:28:06 +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
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
eb91c8f770 Use default_category option if not cat specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:17:55 +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
matt
10586c54bc More user
git-svn-id: http://svn.automattic.com/wordpress/trunk@2633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:22:06 +00:00
ryan
9e63b5c8d8 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: http://svn.automattic.com/wordpress/trunk@2612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-18 03:17:55 +00:00
ryan
3e8d9d0cf0 Fix comment auto-approval for authors/admins. http://mosquito.wordpress.org/view.php?id=1291 Props: kim, coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-27 23:55:06 +00:00
matt
b8899402d0 Dupe comment check - http://mosquito.wordpress.org/view.php?id=1265
git-svn-id: http://svn.automattic.com/wordpress/trunk@2561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 21:56:28 +00:00
matt
68b4b3c61c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: http://svn.automattic.com/wordpress/trunk@2556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 03:37:23 +00:00
ryan
e54d8a34c2 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: http://svn.automattic.com/wordpress/trunk@2523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:12:36 +00:00
ryan
3e2b1f0d75 Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: http://svn.automattic.com/wordpress/trunk@2453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 03:39:02 +00:00
ryan
267655af24 Apply filters to trackback content. http://mosquito.wordpress.org/view.php?id=1085 Props: kim
git-svn-id: http://svn.automattic.com/wordpress/trunk@2442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 00:55:21 +00:00
matt
3afee26783 Missing;
git-svn-id: http://svn.automattic.com/wordpress/trunk@2408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-05 02:02:15 +00:00
matt
4b3cb04c1b Fix from Michel for XML-RPC error - http://mosquito.wordpress.org/view.php?id=829
git-svn-id: http://svn.automattic.com/wordpress/trunk@2407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-04 20:43:57 +00:00
emc3
55b747eb07 Oops. Stupid typo. Thanks, Ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 22:01:52 +00:00
emc3
86e5a8a70d 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: http://svn.automattic.com/wordpress/trunk@2357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 21:35:58 +00:00
saxmatt
a622906bd5 Don't let there be duplicate post_names
git-svn-id: http://svn.automattic.com/wordpress/trunk@2323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:51:14 +00:00
saxmatt
553e41cf73 Enclosure cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 08:58:10 +00:00
saxmatt
fa0753801a Don't show pages or objects in recent posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 05:25:09 +00:00
saxmatt
34da840f28 Allow setting of post_parent - http://mosquito.wordpress.org/view.php?id=111
git-svn-id: http://svn.automattic.com/wordpress/trunk@2269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 03:36:49 +00:00
rboren
e0d7582c46 Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 03:40:08 +00:00
rboren
9981bb9e4f Respect the mode. Props: ringmaster. http://mosquito.wordpress.org/view.php?id=804
git-svn-id: http://svn.automattic.com/wordpress/trunk@2225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 20:45:50 +00:00
saxmatt
30213a51c1 Adding support for a proxy-specific RBL that has shown to be extremely effective
git-svn-id: http://svn.automattic.com/wordpress/trunk@2199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 08:40:44 +00:00
rboren
9838608868 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: http://svn.automattic.com/wordpress/trunk@2184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:20:54 +00:00
saxmatt
c4649b9979 Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 06:38:12 +00:00
saxmatt
10792f3274 More filters and KSES cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:29:18 +00:00
saxmatt
8d7769dd6b Typo in filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@2150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 20:35:13 +00:00
saxmatt
f495494b75 Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705
git-svn-id: http://svn.automattic.com/wordpress/trunk@2138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 08:27:53 +00:00
rboren
8add0e48f5 Used the filtered vars, not the unfiltered ones. Bug 641.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 02:55:35 +00:00
saxmatt
f836050ca3 http://mosquito.wordpress.org/view.php?id=684
git-svn-id: http://svn.automattic.com/wordpress/trunk@2097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 01:07:53 +00:00
saxmatt
5db85f10c6 Check everything for entities.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 22:42:09 +00:00
saxmatt
69291131ff http://mosquito.wordpress.org/view.php?id=668
git-svn-id: http://svn.automattic.com/wordpress/trunk@2082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 18:47:07 +00:00
saxmatt
743313fa50 Whitelist trackbacks and pingbacks from domains in blogroll.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 23:21:42 +00:00
saxmatt
2a6738aacb Add more hooks into commenting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:26:10 +00:00
saxmatt
652654d4d5 Spam tastes great, we should eat more of it. Add 'spam' approval value, and basic blacklist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:21:06 +00:00
saxmatt
f20de56a5b http://mosquito.wordpress.org/view.php?id=608
git-svn-id: http://svn.automattic.com/wordpress/trunk@2064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:21:12 +00:00
saxmatt
4015316834 http://mosquito.wordpress.org/view.php?id=521
git-svn-id: http://svn.automattic.com/wordpress/trunk@2062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:11:51 +00:00
rboren
5af5da1547 Add preprocess_comment filter to enable filtering all comment data in one go. Patch from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 21:11:42 +00:00
saxmatt
4b9c67c876 When deleting a page level up all children.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:13:38 +00:00
saxmatt
8f82a03a02 Comment notification fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 10:25:00 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
saxmatt
c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
rboren
83e6c81f41 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: http://svn.automattic.com/wordpress/trunk@1920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 02:35:53 +00:00
rboren
39bf85133f Perform empty() check on $doing_rss to avoid warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:47:54 +00:00
emc3
aa2fbccf6f Use new user_can_foo() functions, clean up comment editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@1875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 15:09:24 +00:00