<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Thanks Otto, I've passed on your offer of support to the theme author in ticket.<br><br>Afzaal</div><div><br></div><div><br></div><div><br>On 10 Apr 2014, at 22:13, Otto <<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>On Thu, Apr 10, 2014 at 2:59 PM, Afzaal <span dir="ltr"><<a href="mailto:wordpress@thinkupthemes.com" target="_blank">wordpress@thinkupthemes.com</a>></span> wrote:<br></div><div class="gmail_extra">

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Thanks Emil & Chip,<br>
<br>
So I just want to confirm incase I come across a similar issue in future. Is there ever a suitable reason to deregister a core style / script?<br>
<br>
I'm guessing the answer is no.<br><span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Actually, yes, there are a few reasons to do this, but as always, it depends on the specific circumstances. It is not the recommended approach, because of future incompatibility if the core code changes (which it likely will in this area).<div>

<br></div><div>For this particular case, it is probably not necessary to unregister the whole stylesheet just to apply a minor fix to it. CSS can be overridden with more specific selectors. If this is such a minor fix as described in that thread, then the fix can simply be added to his own theme's CSS files with a more specific selector, and without replacing the existing stylesheet. If he has questions on how to do this, tell him to email me the specific details and I'll happily explain the right way.</div>

<div><br></div><div>There are specific cases where I've unregistered core scripts to replace them with modified ones, but only when there is literally no other way, and only in plugins, not in themes.</div></div><div>

<br></div><div class="gmail_extra">-Otto</div><div> </div></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>theme-reviewers mailing list</span><br><span><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a></span><br><span><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></span><br></div></blockquote></body></html>