<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress Ideas &#187; Topic: if DOING_AJAX is defined, use die() instead of wp_die() in wp-comments-post.php</title>
		<link>http://wordpress.org/extend/ideas/topic/if-doing_ajax-is-defined-use-die-instead-of-wp_die-in-wp-comments-postphp</link>
		<description>WordPress Ideas &#187; Topic: if DOING_AJAX is defined, use die() instead of wp_die() in wp-comments-post.php</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 02:24:53 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://wordpress.org/extend/ideas/rss/topic/if-doing_ajax-is-defined-use-die-instead-of-wp_die-in-wp-comments-postphp" rel="self" type="application/rss+xml" />

		<item>
			<title>Jen Mylo on "if DOING_AJAX is defined, use die() instead of wp_die() in wp-comments-post.php"</title>
			<link>http://wordpress.org/extend/ideas/topic/if-doing_ajax-is-defined-use-die-instead-of-wp_die-in-wp-comments-postphp#post-16384</link>
			<pubDate>Thu, 25 Mar 2010 10:30:44 +0000</pubDate>
			<dc:creator>Jen Mylo</dc:creator>
			<guid isPermaLink="false">16384@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>I'm glad @simbo posted this here instead of on Trac. The goal is to get the 'should we or shouldn't we' discussions happening on Ideas forum, so that Trac can be more focused on accepted code changes, which will make it easier to manage.
</p>]]></description>
					</item>
		<item>
			<title>John James Jacoby on "if DOING_AJAX is defined, use die() instead of wp_die() in wp-comments-post.php"</title>
			<link>http://wordpress.org/extend/ideas/topic/if-doing_ajax-is-defined-use-die-instead-of-wp_die-in-wp-comments-postphp#post-16269</link>
			<pubDate>Tue, 23 Mar 2010 04:33:33 +0000</pubDate>
			<dc:creator>John James Jacoby</dc:creator>
			<guid isPermaLink="false">16269@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>This may actually make a better trac ticket than an idea.</p>
<p><a href="http://core.trac.wordpress.org" rel="nofollow">http://core.trac.wordpress.org</a>.
</p>]]></description>
					</item>
		<item>
			<title>simbo on "if DOING_AJAX is defined, use die() instead of wp_die() in wp-comments-post.php"</title>
			<link>http://wordpress.org/extend/ideas/topic/if-doing_ajax-is-defined-use-die-instead-of-wp_die-in-wp-comments-postphp#post-14248</link>
			<pubDate>Tue, 01 Dec 2009 10:57:12 +0000</pubDate>
			<dc:creator>simbo</dc:creator>
			<guid isPermaLink="false">14248@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>The functions wp_allow_comment() and check_comment_flood_db(), defined in wp-includes/comment.php, are already using die() instead of wp_die() if the constant DOING_AJAX is defined.</p>
<p>If wp-comments-post.php acts the same way and uses die() instead of wp_die() and wp_redirect(), it would be much easier to integrate ajaxified comments.</p>
<p>Because if wp-comments-post.php only returns text strings if DOING_AJAX is set, you could just use this little php script to handle the AJAX request for adding new comments:</p>
<p><code>define('DOING_AJAX',1);<br />
require('path/to/wp-comments-post.php');</code>
</p>]]></description>
					</item>

	</channel>
</rss>
