<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Function Documentation</title>
	<atom:link href="http://funcdoc.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://funcdoc.wordpress.com</link>
	<description>WordPress Function Documentation Progress</description>
	<lastBuildDate>Tue, 21 Apr 2009 04:11:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Writing Plugins: What is the Class Callback Format? by Bradley G. Smith</title>
		<link>http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-221</link>
		<dc:creator><![CDATA[Bradley G. Smith]]></dc:creator>
		<pubDate>Tue, 21 Apr 2009 04:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-221</guid>
		<description><![CDATA[Jacob, really good suggestion on remove_action. I wasn&#039;t sure if I would ever solve this. Here&#039;s a recap and some code.

When I was trying to run a remove_action on the undesired method, I had my method inside of the class I was creating for my own plugin, and I was running a remove_action with my add_action calls. Instead, I did this:

function remove_acsu_head(){
	global $acsu;
	#var_dump(&amp;$acsu-&gt;wp_filter_id); // For debugging. Should be &#039;1&#039; or &#039;0&#039;
	remove_action(&#039;template_redirect&#039;, array(&amp;$acsu, &#039;template_redirecter&#039;));
	remove_action(&#039;wp_head&#039;, array(&amp;$acsu, &#039;wp_header&#039;));
}
add_action(&#039;wp_head&#039;, &#039;remove_acsu_head&#039;);

And the method &#039;remove_acsu_head&#039; is outside of the class I created for my own plugin. It is a standalone function. So I just call my &#039;add_action(&#039;wp_head&#039;, &#039;remove_acsu_head&#039;);&#039; with the other add_action calls which reference my own plugin.

Hope this helps, I&#039;d be open to clarifying this comment if it is a little cloudy. Jacob, thanks again.]]></description>
		<content:encoded><![CDATA[<p>Jacob, really good suggestion on remove_action. I wasn&#8217;t sure if I would ever solve this. Here&#8217;s a recap and some code.</p>
<p>When I was trying to run a remove_action on the undesired method, I had my method inside of the class I was creating for my own plugin, and I was running a remove_action with my add_action calls. Instead, I did this:</p>
<p>function remove_acsu_head(){<br />
	global $acsu;<br />
	#var_dump(&amp;$acsu-&gt;wp_filter_id); // For debugging. Should be &#8217;1&#8242; or &#8217;0&#8242;<br />
	remove_action(&#8216;template_redirect&#8217;, array(&amp;$acsu, &#8216;template_redirecter&#8217;));<br />
	remove_action(&#8216;wp_head&#8217;, array(&amp;$acsu, &#8216;wp_header&#8217;));<br />
}<br />
add_action(&#8216;wp_head&#8217;, &#8216;remove_acsu_head&#8217;);</p>
<p>And the method &#8216;remove_acsu_head&#8217; is outside of the class I created for my own plugin. It is a standalone function. So I just call my &#8216;add_action(&#8216;wp_head&#8217;, &#8216;remove_acsu_head&#8217;);&#8217; with the other add_action calls which reference my own plugin.</p>
<p>Hope this helps, I&#8217;d be open to clarifying this comment if it is a little cloudy. Jacob, thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing Plugins: What is the Class Callback Format? by Bradley G. Smith</title>
		<link>http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-219</link>
		<dc:creator><![CDATA[Bradley G. Smith]]></dc:creator>
		<pubDate>Wed, 15 Apr 2009 13:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-219</guid>
		<description><![CDATA[Jacob, thanks for the quick response. Can you contact me directly at my email? If you&#039;re up for it, I&#039;d love to share some code and the specific instance of code I&#039;m working on. I don&#039;t imagine it would take too long. I figure we can post our results and solution here.]]></description>
		<content:encoded><![CDATA[<p>Jacob, thanks for the quick response. Can you contact me directly at my email? If you&#8217;re up for it, I&#8217;d love to share some code and the specific instance of code I&#8217;m working on. I don&#8217;t imagine it would take too long. I figure we can post our results and solution here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing Plugins: What is the Class Callback Format? by Jacob Santos</title>
		<link>http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-218</link>
		<dc:creator><![CDATA[Jacob Santos]]></dc:creator>
		<pubDate>Wed, 15 Apr 2009 13:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-218</guid>
		<description><![CDATA[The variable has to be the original reference to the object, meaning if it is PHP4, you need the &amp;$acsu and the variable that created the object. This becomes difficult when the original variable is &quot;destroyed&quot; or no variable is given. If you try to create your own instance of the object and try to remove it, then it isn&#039;t going to work, because it should create a new action along side the other.

I&#039;m not sure I can completely help you, since I don&#039;t have all of the code to reference. I will continue to suggest to people that using the static method or functions is the best way to do actions and filters. Using dynamic methods is a big WTF?]]></description>
		<content:encoded><![CDATA[<p>The variable has to be the original reference to the object, meaning if it is PHP4, you need the &amp;$acsu and the variable that created the object. This becomes difficult when the original variable is &#8220;destroyed&#8221; or no variable is given. If you try to create your own instance of the object and try to remove it, then it isn&#8217;t going to work, because it should create a new action along side the other.</p>
<p>I&#8217;m not sure I can completely help you, since I don&#8217;t have all of the code to reference. I will continue to suggest to people that using the static method or functions is the best way to do actions and filters. Using dynamic methods is a big WTF?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Writing Plugins: What is the Class Callback Format? by Bradley G. Smith</title>
		<link>http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-214</link>
		<dc:creator><![CDATA[Bradley G. Smith]]></dc:creator>
		<pubDate>Tue, 14 Apr 2009 06:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/2008/01/13/writing-plugins-what-is-the-class-callback-format/#comment-214</guid>
		<description><![CDATA[I&#039;m using WordPress 2.7 and I&#039;m having the hardest time running a remove method on a method referenced by an object. What I mean is I have a plugin that has an object ($acsu) and a method I would like to remove that has been added by the object(&#039;wp_header&#039;).

I&#039;ve tried the following:

remove_action(&#039;wp_head&#039;, array(&amp;$acsu, &#039;wp_header&#039;));
remove_action(&#039;wp_head&#039;, array($acsu, &#039;wp_header&#039;));
remove_action(&#039;wp_head&#039;, &#039;wp_header&#039;);
add_action(&#039;wp_head&#039;, create_function(&#039;$a&#039;, &quot;remove_action(&#039;wp_head&#039;, array($acsu, &#039;wp_header&#039;));&quot;));

And none of them seem to work for me. Any ideas or examples you can think of that might help?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m using WordPress 2.7 and I&#8217;m having the hardest time running a remove method on a method referenced by an object. What I mean is I have a plugin that has an object ($acsu) and a method I would like to remove that has been added by the object(&#8216;wp_header&#8217;).</p>
<p>I&#8217;ve tried the following:</p>
<p>remove_action(&#8216;wp_head&#8217;, array(&amp;$acsu, &#8216;wp_header&#8217;));<br />
remove_action(&#8216;wp_head&#8217;, array($acsu, &#8216;wp_header&#8217;));<br />
remove_action(&#8216;wp_head&#8217;, &#8216;wp_header&#8217;);<br />
add_action(&#8216;wp_head&#8217;, create_function(&#8216;$a&#8217;, &#8220;remove_action(&#8216;wp_head&#8217;, array($acsu, &#8216;wp_header&#8217;));&#8221;));</p>
<p>And none of them seem to work for me. Any ideas or examples you can think of that might help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shortcodes API by Cohen</title>
		<link>http://funcdoc.wordpress.com/2008/02/03/shortcodes-api/#comment-199</link>
		<dc:creator><![CDATA[Cohen]]></dc:creator>
		<pubDate>Mon, 02 Mar 2009 15:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/?p=46#comment-199</guid>
		<description><![CDATA[Thanks for getting back to me Jacob. I tried without the space after the attributes but no luck.

I think the fault is in the shortcode functions, not the plugin. For a self closed tag I am being sent content in the second parameter. There are also no attributes or parameters to tell my function that it is a self closing tag.

I&#039;ve made a quick test page to highlight what I mean. http://blograndom.com/tests/shortcode/

Do you happen to know where I can submit a bug? On the wordpress.org site it seems the forum is the only place.]]></description>
		<content:encoded><![CDATA[<p>Thanks for getting back to me Jacob. I tried without the space after the attributes but no luck.</p>
<p>I think the fault is in the shortcode functions, not the plugin. For a self closed tag I am being sent content in the second parameter. There are also no attributes or parameters to tell my function that it is a self closing tag.</p>
<p>I&#8217;ve made a quick test page to highlight what I mean. <a href="http://blograndom.com/tests/shortcode/" rel="nofollow">http://blograndom.com/tests/shortcode/</a></p>
<p>Do you happen to know where I can submit a bug? On the wordpress.org site it seems the forum is the only place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shortcodes API by Jacob Santos</title>
		<link>http://funcdoc.wordpress.com/2008/02/03/shortcodes-api/#comment-198</link>
		<dc:creator><![CDATA[Jacob Santos]]></dc:creator>
		<pubDate>Mon, 02 Mar 2009 13:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/?p=46#comment-198</guid>
		<description><![CDATA[The parsing of the short codes is very strict. So if it does self closing, it might need to not have a space between the quote and bracket. There does not seem to be a bug. The wautop is trying to fix your markup to prevent invalid XHTML. Might be an issue with the plugin.]]></description>
		<content:encoded><![CDATA[<p>The parsing of the short codes is very strict. So if it does self closing, it might need to not have a space between the quote and bracket. There does not seem to be a bug. The wautop is trying to fix your markup to prevent invalid XHTML. Might be an issue with the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shortcodes API by Cohen</title>
		<link>http://funcdoc.wordpress.com/2008/02/03/shortcodes-api/#comment-197</link>
		<dc:creator><![CDATA[Cohen]]></dc:creator>
		<pubDate>Sun, 01 Mar 2009 20:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/?p=46#comment-197</guid>
		<description><![CDATA[I&#039;m just trying to figure out whether I&#039;ve noticed an issue with shortcodes that can hopefully by easily fixed. You seem to know a lot about the class so I thought I&#039;d try my luck here as no response so far from the wordpress forums.

Anyway, the bug is that code like this:

Testing [intlink id=&quot;1&quot; /] self close. [intlink id=&quot;2&quot;]Testing content[/intlink]

becomes:

Testing &lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;selc close. &lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;Testing content&lt;/a&gt;&lt;/a&gt;

As you can see, the first opening shortcode is running until the last closing tag, even thought it is self closed.

Having read the manual I understand the shortcode parser can&#039;t handle nesting of the same tags, but in this case I&#039;m not trying to nest!

Is this a bug or am I doing something wrong?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m just trying to figure out whether I&#8217;ve noticed an issue with shortcodes that can hopefully by easily fixed. You seem to know a lot about the class so I thought I&#8217;d try my luck here as no response so far from the wordpress forums.</p>
<p>Anyway, the bug is that code like this:</p>
<p>Testing [intlink id="1" /] self close. [intlink id="2"]Testing content[/intlink]</p>
<p>becomes:</p>
<p>Testing <a href="" rel="nofollow">selc close. </a><a href="" rel="nofollow">Testing content</a></p>
<p>As you can see, the first opening shortcode is running until the last closing tag, even thought it is self closed.</p>
<p>Having read the manual I understand the shortcode parser can&#8217;t handle nesting of the same tags, but in this case I&#8217;m not trying to nest!</p>
<p>Is this a bug or am I doing something wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shortcodes API by Jacob Santos</title>
		<link>http://funcdoc.wordpress.com/2008/02/03/shortcodes-api/#comment-191</link>
		<dc:creator><![CDATA[Jacob Santos]]></dc:creator>
		<pubDate>Thu, 19 Feb 2009 01:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/?p=46#comment-191</guid>
		<description><![CDATA[This is because the_ID() echos the ID and does not return it.]]></description>
		<content:encoded><![CDATA[<p>This is because the_ID() echos the ID and does not return it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shortcodes API by Jasmine</title>
		<link>http://funcdoc.wordpress.com/2008/02/03/shortcodes-api/#comment-190</link>
		<dc:creator><![CDATA[Jasmine]]></dc:creator>
		<pubDate>Wed, 18 Feb 2009 17:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/?p=46#comment-190</guid>
		<description><![CDATA[I am trying to use short code to display the post id inside a post, however when I use [id] it is showing the post ID at the start of the post of the post content, not where I have typed it.

The shortcode I am using, I have placed this in the plugin folder.

[php]function shortcode_id() {
   $id = the_ID();
echo $id;
}
add_shortcode(&#039;id&#039;, &#039;shortcode_id&#039;);
[/php]

What displays on the post page: 10741This is a good post. This is Post ID:

I also tried: [php]echo the_ID();[/php] but it doesn&#039;t work either.]]></description>
		<content:encoded><![CDATA[<p>I am trying to use short code to display the post id inside a post, however when I use [id] it is showing the post ID at the start of the post of the post content, not where I have typed it.</p>
<p>The shortcode I am using, I have placed this in the plugin folder.</p>
<p>[php]function shortcode_id() {<br />
   $id = the_ID();<br />
echo $id;<br />
}<br />
add_shortcode(&#8216;id&#8217;, &#8216;shortcode_id&#8217;);<br />
[/php]</p>
<p>What displays on the post page: 10741This is a good post. This is Post ID:</p>
<p>I also tried: [php]echo the_ID();[/php] but it doesn&#8217;t work either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on wp-config.php Settings: Part 2 by tt</title>
		<link>http://funcdoc.wordpress.com/2008/01/31/wp-configphp-settings-part-2/#comment-185</link>
		<dc:creator><![CDATA[tt]]></dc:creator>
		<pubDate>Fri, 12 Dec 2008 17:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://funcdoc.wordpress.com/?p=44#comment-185</guid>
		<description><![CDATA[It needs to be &quot;define(&#039;WP_MEMORY_LIMIT&#039;, &#039;32M&#039;);&quot;, M not MB in the end.  

TT]]></description>
		<content:encoded><![CDATA[<p>It needs to be &#8220;define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;32M&#8217;);&#8221;, M not MB in the end.  </p>
<p>TT</p>
]]></content:encoded>
	</item>
</channel>
</rss>
