<?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 on: Nasty Problem With Basic Bilingual Plugin</title>
	<atom:link href="http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/</link>
	<description>Stephanie Booth&#039;s online ramblings</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:15:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Climb to the Stars (Stephanie Booth) &#187; December 2007 Recap</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15599</link>
		<dc:creator>Climb to the Stars (Stephanie Booth) &#187; December 2007 Recap</dc:creator>
		<pubDate>Fri, 18 Jan 2008 20:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15599</guid>
		<description>&lt;p&gt;[...] Problem With Basic Bilingual Plugin: resolved, [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Problem With Basic Bilingual Plugin: resolved, [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Climb to the Stars (Stephanie Booth) &#187; Two Plugin Updates: Basic Bilingual 0.32 and Language Linker 0.2</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15598</link>
		<dc:creator>Climb to the Stars (Stephanie Booth) &#187; Two Plugin Updates: Basic Bilingual 0.32 and Language Linker 0.2</dc:creator>
		<pubDate>Tue, 01 Jan 2008 17:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15598</guid>
		<description>&lt;p&gt;[...] Nasty Problem With Basic Bilingual Plugin [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Nasty Problem With Basic Bilingual Plugin [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sudar Muthu</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15603</link>
		<dc:creator>Sudar Muthu</dc:creator>
		<pubDate>Sat, 29 Dec 2007 22:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15603</guid>
		<description>&lt;p&gt;Hi Stephanie,&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Nice to know that you figured it out. Happy Hacking :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Stephanie,</p>

<p><br /></p>

<p>Nice to know that you figured it out. Happy Hacking <img src='http://climbtothestars.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sudar Muthu</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15597</link>
		<dc:creator>Sudar Muthu</dc:creator>
		<pubDate>Sat, 29 Dec 2007 17:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15597</guid>
		<description>&lt;p&gt;Hi Stephanie,&lt;/p&gt;

&lt;p&gt;Nice to know that you figured it out. Happy Hacking :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Stephanie,</p>

<p>Nice to know that you figured it out. Happy Hacking <img src='http://climbtothestars.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Climb to the Stars (Stephanie Booth) &#187; November 2007 Recap</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15596</link>
		<dc:creator>Climb to the Stars (Stephanie Booth) &#187; November 2007 Recap</dc:creator>
		<pubDate>Wed, 26 Dec 2007 13:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15596</guid>
		<description>&lt;p&gt;[...] on this blog, leading to an update of my Basic Bilingual plugin (update which was actually broken, but has since then been fixed &#8212; please upgrade if you haven&#8217;t), and some tortured thoughts about cleaning up [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] on this blog, leading to an update of my Basic Bilingual plugin (update which was actually broken, but has since then been fixed &#8212; please upgrade if you haven&#8217;t), and some tortured thoughts about cleaning up [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Climb to the Stars (Stephanie Booth) &#187; WordPress Deaf to Pings</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15592</link>
		<dc:creator>Climb to the Stars (Stephanie Booth) &#187; WordPress Deaf to Pings</dc:creator>
		<pubDate>Tue, 18 Dec 2007 16:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15592</guid>
		<description>&lt;p&gt;[...] du quotidienFantasyFocusMultilingualExperiential MarketingCategories     &#171; Nasty Problem With Basic Bilingual Plugin Hashtags For My Followees [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] du quotidienFantasyFocusMultilingualExperiential MarketingCategories     &laquo; Nasty Problem With Basic Bilingual Plugin Hashtags For My Followees [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15602</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Tue, 18 Dec 2007 15:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15602</guid>
		<description>&lt;p&gt;Ah, this needs to go under the textarea in the admin edit post section:&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;// hidden field to avoid vanishing meta&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;echo &#039;&lt;input type=&quot;hidden&quot; name=&quot;bunny-key&quot; id=&quot;bunny-key&quot; value=&quot;&#039; . wp_create_nonce(&#039;bunny&#039;) . &#039;&quot; /&gt;&#039;;&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah, this needs to go under the textarea in the admin edit post section:</p>

<p><br />&lt;pre&gt;<code>// hidden field to avoid vanishing meta<br /><br /><br /></code></p>

<p>echo &#39;&lt;input type="hidden" name="bunny-key" id="bunny-key" value="&#39; . wp_create_nonce(&#39;bunny&#39;) . &#39;" /&gt;&#39;;</p>

<p>&lt;/pre&gt;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15601</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Tue, 18 Dec 2007 15:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15601</guid>
		<description>&lt;p&gt;I replaced the function bb_update_meta:&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;// general custom field update function&lt;br&gt;function bb_update_meta($id, $field)&lt;br&gt;{&lt;br&gt;// authorization&lt;br&gt;if ( !current_user_can(&#039;edit_post&#039;, $id) )&lt;br&gt;    return $id;&lt;br&gt;// origination and intention&lt;br&gt;if ( !wp_verify_nonce($_POST[&#039;bunny-key&#039;], &#039;bunny&#039;) )&lt;br&gt;    return $id;&lt;br&gt;&lt;br&gt;$setting = stripslashes($_POST[$field]);&lt;br&gt;$meta_exists=update_post_meta($id, $field, $setting);&lt;br&gt;if(!$meta_exists)&lt;br&gt;{&lt;br&gt;    add_post_meta($id, $field, $setting);   &lt;br&gt;}&lt;br&gt;}&lt;br&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Now even I can&#039;t edit &quot;other-excerpts&quot; from the post editing field, so I guess it at least prevents accidents!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I replaced the function bb_update_meta:</p>

<p><br />&lt;pre&gt;<code>// general custom field update function<br />function bb_update_meta($id, $field)<br />{<br />// authorization<br />if ( !current_user_can(&#39;edit_post&#39;, $id) )<br />    return $id;<br />// origination and intention<br />if ( !wp_verify_nonce($_POST[&#39;bunny-key&#39;], &#39;bunny&#39;) )<br />    return $id;<br /><br />$setting = stripslashes($_POST[$field]);<br />$meta_exists=update_post_meta($id, $field, $setting);<br />if(!$meta_exists)<br />{<br />    add_post_meta($id, $field, $setting);   <br />}<br />}<br /></code>&lt;/pre&gt;<br /></p>

<p>Now even I can&#39;t edit &#8220;other-excerpts&#8221; from the post editing field, so I guess it at least prevents accidents!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15600</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Tue, 18 Dec 2007 15:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15600</guid>
		<description>&lt;p&gt;I think I found a fix -- indeed something in the &quot;vanishing meta&quot; department. It has something to do with comments (approving moderated comments?) but as I&#039;m not quite sure what cause the problem, I&#039;m not sure either how to test that it&#039;s gone. Ugh.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think I found a fix &#8212; indeed something in the &#8220;vanishing meta&#8221; department. It has something to do with comments (approving moderated comments?) but as I&#39;m not quite sure what cause the problem, I&#39;m not sure either how to test that it&#39;s gone. Ugh.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15593</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Tue, 18 Dec 2007 10:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-15593</guid>
		<description>&lt;p&gt;Ah, this needs to go under the textarea in the admin edit post section:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;// hidden field to avoid vanishing meta&lt;/p&gt;

&lt;p&gt;echo &#039;&lt;input type=&quot;hidden&quot; name=&quot;bunny-key&quot; id=&quot;bunny-key&quot; value=&quot;&#039; . wp_create_nonce(&#039;bunny&#039;) . &#039;&quot; /&gt;&#039;;&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah, this needs to go under the textarea in the admin edit post section:</p>

<p><pre><code>// hidden field to avoid vanishing meta</code></pre></p>

<p>echo '&lt;input type="hidden" name="bunny-key" id="bunny-key" value="' . wp_create_nonce('bunny') . '" />';</p>

<p></p>]]></content:encoded>
	</item>
</channel>
</rss>

