<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <font size="-1"><font face="Arial">Hi everyone,<br>
        <br>
        I'm too looking for a way to remove all of the post meta for all
        posts when the user decides to uninstall the theme and removes
        all of the theme's data. Any suggestion?<br>
      </font></font>
    <pre class="moz-signature" cols="72">-- 
Regards,
Syahir Hakim

Contact:
<a class="moz-txt-link-freetext" href="http://www.khairul-syahir.com">http://www.khairul-syahir.com</a>
+64(21) 0333 649</pre>
    <br>
    On 22/10/2010 5:11 AM, Chip Bennett wrote:
    <blockquote
      cite="mid:AANLkTinAYTk1KX-xraPJS4gVed1LFL7hOiMw_JLXwCib@mail.gmail.com"
      type="cite">These are good guidelines.<br>
      <div><br>
      </div>
      <div>I think the ones that we can certainly implement as
        consistent with existing guidelines are #1 and #2.<br>
        <div><br>
        </div>
        <div>Any suggestion for such an automated way to remove such
          post meta data? (Yet *another* argument for a Theme
          deactivation/deletion hook.)</div>
        <div><br>
        </div>
        <div>Chip</div>
        <div><br>
        </div>
        <div class="gmail_quote">On Thu, Oct 21, 2010 at 11:05 AM, Gene
          Robinson <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:emhr@submersible.me">emhr@submersible.me</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            I'm ok with the idea of themes adding post meta if they:<br>
            1. document it's function and purpose in theme docs,
            read-me, and/or options/settings page.<br>
            2. prepend the post meta with the theme slug like identifier<br>
            3. offer an automated way to remove the post meta should the
            user desire removal or to reset it.<br>
            <font color="#888888"><br>
              -Gene<br>
            </font>
            <div>
              <div class="h5"><br>
                On Oct 21, 2010, at 11:53 AM, Chip Bennett wrote:<br>
                <br>
                &gt; I just ran into another one, thanks to a Theme that
                outputs all of a post's custom field keys/values as post
                meta data: apparently, some Themes are adding custom
                fields to posts.<br>
                &gt;<br>
                &gt; Should there be some guidance here? Specifically,
                should Themes be adding meta information/custom field
                keys/values to existing posts without user knowledge?<br>
                &gt;<br>
                &gt; In my case, one Theme added various default
                Thumbnail images as custom fields, and another Theme
                added a "superawesome" custom field key (with a value of
                "false").<br>
                &gt;<br>
                &gt; Chip<br>
              </div>
            </div>
            <div>
              <div class="h5">&gt;
                _______________________________________________<br>
                &gt; theme-reviewers mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
                  target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
                <br>
                _______________________________________________<br>
                theme-reviewers mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
                  target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
    </blockquote>
  </body>
</html>