Commit Graph

137 Commits

Author SHA1 Message Date
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
saxmatt d1ddb156ec Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00
michelvaldrighi 2c7c6cdc8f added more user_can_* functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 16:20:25 +00:00
saxmatt 40a8e6885b Trackback and pingback cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
michelvaldrighi 4af875d28f printr instead of print_r
git-svn-id: http://svn.automattic.com/wordpress/trunk@1778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 16:49:52 +00:00
michelvaldrighi 802bd72016 whoops, we forgot to store the comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 11:45:15 +00:00
michelvaldrighi 00d3d3fec9 fixes for bug #311, by bronski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 19:44:35 +00:00
michelvaldrighi 85b23fe964 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: http://svn.automattic.com/wordpress/trunk@1630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 15:54:03 +00:00
saxmatt b650b0736a Move trackbacks to new comment function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 02:34:12 +00:00
saxmatt ed34ca04d8 Set GUID when posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
rboren 48e72c3061 Fix for bug 250: Metaweblog API discards comment_status and ping_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 06:44:58 +00:00
michelvaldrighi 21dcfb25d9 added user_can_edit_post and user_can_delete_post
git-svn-id: http://svn.automattic.com/wordpress/trunk@1561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-25 15:12:10 +00:00
michelvaldrighi 4ff88b4c3e whoops, typo in trackback_url_list
git-svn-id: http://svn.automattic.com/wordpress/trunk@1560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-25 14:22:39 +00:00
saxmatt 25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
michelvaldrighi 831d0c9965 relocated misc database-related functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 01:34:57 +00:00