<?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"
	>
<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>More than just a blog.</description>
	<pubDate>Sun, 06 Jul 2008 23:51:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</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-377794</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-377794</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-361525</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-361525</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-358679</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-358679</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-354875</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-354875</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-346824</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-346824</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-346641</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-346641</guid>
		<description>&lt;p&gt;Ah, this needs to go under the textarea in the admin edit post section:&lt;/p&gt;

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


&lt;p&gt;echo '&#60;input type="hidden" name="bunny-key" id="bunny-key" value="' . wp_create_nonce('bunny') . '" /&gt;';&lt;/p&gt;&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Ah, this needs to go under the textarea in the admin edit post section:</p>
<pre><code>// hidden field to avoid vanishing meta

echo &#8216;&lt;input type=&#8221;hidden&#8221; name=&#8221;bunny-key&#8221; id=&#8221;bunny-key&#8221; value=&#8221;&#8216; . wp_create_nonce(&#8217;bunny&#8217;) . &#8216;&#8221; />&#8217;;

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

&lt;pre&gt;&lt;code&gt;// general custom field update function
function bb_update_meta($id, $field)
{
// authorization
if ( !current_user_can('edit_post', $id) )
    return $id;
// origination and intention
if ( !wp_verify_nonce($_POST['bunny-key'], 'bunny') )
    return $id;

$setting = stripslashes($_POST[$field]);
$meta_exists=update_post_meta($id, $field, $setting);
if(!$meta_exists)
{
    add_post_meta($id, $field, $setting);   
}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now even I can't edit "other-excerpts" 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>
<pre><code>// general custom field update function
function bb_update_meta($id, $field)
{
// authorization
if ( !current_user_can('edit_post', $id) )
    return $id;
// origination and intention
if ( !wp_verify_nonce($_POST['bunny-key'], &#8216;bunny&#8217;) )
    return $id;

$setting = stripslashes($_POST[$field]);
$meta_exists=update_post_meta($id, $field, $setting);
if(!$meta_exists)
{
    add_post_meta($id, $field, $setting);
}
}
</code></pre>
<p>Now even I can&#8217;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-346637</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Tue, 18 Dec 2007 10:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://climbtothestars.org/archives/2007/12/18/nasty-problem-with-basic-bilingual-plugin/#comment-346637</guid>
		<description>&lt;p&gt;I think I found a fix -- indeed something in the "vanishing meta" department. It has something to do with comments (approving moderated comments?) but as I'm not quite sure what cause the problem, I'm not sure either how to test that it'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&#8217;m not quite sure what cause the problem, I&#8217;m not sure either how to test that it&#8217;s gone. Ugh.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
