Wordpress - wrong serialized value on update_post_meta
<p>I'm trying to update post meta with serialized value over update_post_meta() function.</p>

<p>The value that i need to store is <code>yes</code>.
So with <code>serialize(array('yes'))</code> Im getting <code>a:1:{i:0;s:3:"yes";}</code> and thats fine.</p>

<p>However after running update_post_meta(), like:</p>

<pre><code>update_post_meta(55, 'my_key', 'a:1:{i:0;s:3:"yes";}')
</code></pre>

<p>I get value <code>s:20:"a:1:{i:0;s:3:"yes";}";</code> in my database. Notice the difference.</p>

<p>Why is this happening and how to solve it?</p>