I can promise you: use of theme_mods will NOT become *required* any time soon. For one, we do our best to avoid such drastic changes; for another, there is certainly no consensus that use of theme_mods is even a "best practice" - especially vs use of the Settings API.<div>
<br></div><div>At this point, at most, I could see use of theme_mods being *recommended*, alongside use of the Settings API, with the choice between the two being optional.</div><div><br></div><div>The purpose of the rule is not only conservation of database performance, but also good database behavior on the part of Themes, *especially* since Themes do not (yet) have uninstall or delete hooks, that can be used to remove DB entries. Manual DB cleanup is much easier when removing one DB entry, as opposed to multiple DB entries.</div>
<div><br></div><div>Other than extreme edge cases (for which the WPTRT *always* reserves the right to evaluate and to make exceptions), I've not yet heard a legitimate argument *against* storing Theme options in a single DB entry. The usual argument generally boils down to a matter of inconvenience, which while I understand, I do not consider to be a valid argument.</div>
<div><br></div><div>Chip<br><br><div class="gmail_quote">On Wed, Feb 8, 2012 at 9:43 PM, Satish Gandham <span dir="ltr"><<a href="mailto:satish.iitg@gmail.com">satish.iitg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As Sayontan and Otto suggested, I can pull the missing values from the db and use the validation function.<br>But, I'm worried if some new specification comes up about the use of theme_mod functions in the next one or two months ( review que is two months long ).<br>
<br>What is the purpose of this rule? Does it really have significant effect on performance? 100 and 100+1 or 1000 and 1000+1 entries, does that really make a difference?<span class="HOEnZb"><font color="#888888"><br><br>
<br>Satish Gandham<br>
</font></span><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>