<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for DynaBytes News</title>
	<atom:link href="http://dynabytes.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://dynabytes.net</link>
	<description>website design and development</description>
	<lastBuildDate>Thu, 19 Apr 2012 22:20:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Laura McDonald</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1421</link>
		<dc:creator>Laura McDonald</dc:creator>
		<pubDate>Thu, 19 Apr 2012 22:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1421</guid>
		<description>And in response to Stephen, the &quot;author&quot; role does not have the capability to delete posts by default. You would need to add this capability to the author role if you wanted authors to be able to use this function. You can modify role capabilities via various plugins like Capability Manager.</description>
		<content:encoded><![CDATA[<p>And in response to Stephen, the &#8220;author&#8221; role does not have the capability to delete posts by default. You would need to add this capability to the author role if you wanted authors to be able to use this function. You can modify role capabilities via various plugins like Capability Manager.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Laura McDonald</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1420</link>
		<dc:creator>Laura McDonald</dc:creator>
		<pubDate>Wed, 18 Apr 2012 22:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1420</guid>
		<description>Hi Guys, I modded the code to allow for custom post types and roles other than admin. I also added a trashed post handler to allow for redirect after the post is trashed if not in the admin area. Let me know if you find any bugs in the code, thanks!</description>
		<content:encoded><![CDATA[<p>Hi Guys, I modded the code to allow for custom post types and roles other than admin. I also added a trashed post handler to allow for redirect after the post is trashed if not in the admin area. Let me know if you find any bugs in the code, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Stephen</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1419</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Wed, 18 Apr 2012 21:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1419</guid>
		<description>Great bit of code! 

I&#039;ve been able to get it to work with the administrator role, but for some reason, the author role fails to trash the item. Rather than sending the post to the trash, I am forwarded to a &#039;page not found&#039; page.

Any assistance appreciated!

Thanks!</description>
		<content:encoded><![CDATA[<p>Great bit of code! </p>
<p>I&#8217;ve been able to get it to work with the administrator role, but for some reason, the author role fails to trash the item. Rather than sending the post to the trash, I am forwarded to a &#8216;page not found&#8217; page.</p>
<p>Any assistance appreciated!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Laura McDonald</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1366</link>
		<dc:creator>Laura McDonald</dc:creator>
		<pubDate>Tue, 14 Feb 2012 18:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1366</guid>
		<description>Hi All--sorry for my absence from this thread. I was working my way out of a heavy workload. Regarding custom post types, I believe the problem comes from this line:

&lt;code&gt;if ( $post-&gt;post_type == &#039;page&#039; )&lt;/code&gt;

You want change &#039;page&#039; to your custom post type or remove that if statement all together. I haven&#039;t tested it, so maybe someone can fiddle around with it and report back with their code. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi All&#8211;sorry for my absence from this thread. I was working my way out of a heavy workload. Regarding custom post types, I believe the problem comes from this line:</p>
<p><code>if ( $post-&gt;post_type == &#039;page&#039; )</code></p>
<p>You want change &#8216;page&#8217; to your custom post type or remove that if statement all together. I haven&#8217;t tested it, so maybe someone can fiddle around with it and report back with their code. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Nathan</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1359</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 23 Dec 2011 17:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1359</guid>
		<description>As per Per&#039;s comments above, this doesn&#039;t work with Custom Post Types...any idea what might need to be done to get it to do so?</description>
		<content:encoded><![CDATA[<p>As per Per&#8217;s comments above, this doesn&#8217;t work with Custom Post Types&#8230;any idea what might need to be done to get it to do so?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Peer</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1352</link>
		<dc:creator>Peer</dc:creator>
		<pubDate>Fri, 02 Sep 2011 15:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1352</guid>
		<description>Hey I resolved the above redirection problem;
just add 	
&lt;code&gt;//wp_redirect( add_query_arg(&#039;deleted&#039;, 1, $sendback) );
	wp_redirect( add_query_arg(&#039;deleted&#039;, 1, get_bloginfo(&#039;wpurl&#039;) ) );
&lt;/code&gt;
to 

in wp-admin/post.php near line# 260

&lt;code&gt;case &#039;delete&#039;: // section

Resolve :0 &lt;/code&gt;

But thanks for this post once again!</description>
		<content:encoded><![CDATA[<p>Hey I resolved the above redirection problem;<br />
just add<br />
<pre><code>//wp_redirect( add_query_arg(&#039;deleted&#039;, 1, $sendback) );
&nbsp;&nbsp;wp_redirect( add_query_arg(&#039;deleted&#039;, 1, get_bloginfo(&#039;wpurl&#039;) ) );
</code></pre><br />
to </p>
<p>in wp-admin/post.php near line# 260</p>
<p><pre><code>case &#039;delete&#039;: // section

Resolve :0 </code></pre></p>
<p>But thanks for this post once again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by Peer</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1351</link>
		<dc:creator>Peer</dc:creator>
		<pubDate>Fri, 02 Sep 2011 14:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1351</guid>
		<description>It works gr8 for me , but in a single post(inner page0 redirection after deleting is not proper,
Any idea will be highly appriciable.
Thanks
Peer</description>
		<content:encoded><![CDATA[<p>It works gr8 for me , but in a single post(inner page0 redirection after deleting is not proper,<br />
Any idea will be highly appriciable.<br />
Thanks<br />
Peer</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by William</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1350</link>
		<dc:creator>William</dc:creator>
		<pubDate>Fri, 26 Aug 2011 23:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1350</guid>
		<description>wow.. thanks so much for posting this up!! I thought I was gonna have to put out a few hours to figure how to code this. Thanks again!</description>
		<content:encoded><![CDATA[<p>wow.. thanks so much for posting this up!! I thought I was gonna have to put out a few hours to figure how to code this. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by shahmmer</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1348</link>
		<dc:creator>shahmmer</dc:creator>
		<pubDate>Sat, 20 Aug 2011 02:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1348</guid>
		<description>Hi,

How can I edit this so it also allows non registered users to delete posts?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How can I edit this so it also allows non registered users to delete posts?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress &#8220;Delete Post Link&#8221; by valuser</title>
		<link>http://dynabytes.net/wordpress/wordpress-delete-post-link/comment-page-1/#comment-1287</link>
		<dc:creator>valuser</dc:creator>
		<pubDate>Wed, 04 May 2011 21:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://dynabytes.net/?p=42#comment-1287</guid>
		<description>As above 

“Are you sure you want to do this? Please try again” too … “Please try again” takes me back to previous page (the page from where I tried to delete)

Any update. as it appears you&#039;re nearly there.</description>
		<content:encoded><![CDATA[<p>As above </p>
<p>“Are you sure you want to do this? Please try again” too … “Please try again” takes me back to previous page (the page from where I tried to delete)</p>
<p>Any update. as it appears you&#8217;re nearly there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

