<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    The problem with themes cleaning up after themselves is simply that
    there's no uninstall hook.  Once we get that (plus some
    activate/deactivate hooks), I'd have no problem in setting some
    repository rules for themes to delete options on uninstall.<br>
    <br>
    As far as using the $default parameter of get_option() and not
    setting defaults, that can be good practice.  However, I see no
    reason themes shouldn't be setting up some defaults using
    add_option().  Of course, there's no activation hook, so some theme
    authors are just dropping some code into functions.php instead of
    using a hook (load-themes.php might be a good one) to auto-set
    default options.<br>
    <br>
    On 6/12/2011 10:06 PM, Emil Uzelac wrote:
    <blockquote
      cite="mid:BANLkTikmsEs3ECC2AWK0imt_y+C+DFy1xw@mail.gmail.com"
      type="cite"><font color="#333333"><font size="2"><font
            face="arial,helvetica,sans-serif">Or for future release of
            WP when Theme is deleted all that was associated with that
            specific Theme gets deleted as well. Not all Authors will
            comply with WP guides and not all Themes are downloaded from
            the repository.<br clear="all">
          </font></font></font>
      <div>
        <div><font face="arial, helvetica, sans-serif"><br>
          </font></div>
        <div><font face="arial, helvetica, sans-serif">----</font></div>
        <div><font face="arial, helvetica, sans-serif"><strong>Emil
              Uzelac</strong> | ThemeID | T: 224-444-0006 | Twitter:
            @EmilUzelac | E: <a moz-do-not-send="true"
              href="mailto:emil@themeid.com" target="_blank">emil@themeid.com</a>
            | <a moz-do-not-send="true" href="http://themeid.com/"
              target="_blank">http://themeid.com</a></font></div>
        <div><font color="#999999" face="arial, helvetica, sans-serif">Make
            everything as simple as possible, but not simpler. - Albert
            Einstein</font></div>
        <br>
        <br>
        <br>
        <div class="gmail_quote">On Sun, Jun 12, 2011 at 10:03 PM,
          Angelo Bertolli <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:angelo.bertolli@gmail.com">angelo.bertolli@gmail.com</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;">
            <div class="im">On 6/12/2011 10:59 PM, Syahir Hakim 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 don't think it's only the theme reviewers who are
                installing and<br>
                trying a lot of themes. It is not unusual at all for
                regular or<br>
                first-timer WP users to try a lot of themes before they
                settle on one<br>
                that they really like. Trying more than 10 themes is
                quite normal for a<br>
                first-timer WP user, I think, and some of my theme users
                even reported<br>
                that they've tried 40+ themes.<br>
              </blockquote>
              <br>
            </div>
            It sounds like WP should have a way of forcing options to be
            associated with their themes, and cleanup options that are
            independant of theme code.  For example add_option would
            automatically associate the option with a particular theme,
            maybe by directory name.  Then after such a theme no longer
            exists or is deactivated, WP presents an option to "clean up
            theme options for theme X"
            <div>
              <div class="h5"><br>
                <br>
                <br>
                _______________________________________________<br>
                theme-reviewers mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:theme-reviewers@lists.wordpress.org"
                  target="_blank">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>