[theme-reviewers] Deregistering mediaelement style / script

Afzaal wordpress at thinkupthemes.com
Thu Apr 10 19:59:44 UTC 2014

Thanks Emil & Chip,

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 /  

I'm guessing the answer is no.


Quoting Chip Bennett <chip at chipbennett.net>:

> The script should not be removed. There may be Plugins that rely on the
> core script.
> The same is almost certainly true for the stylesheet. The Theme can filter
> the core stylesheet, as necessary. It doesn't need to be removed.
> On Thu, Apr 10, 2014 at 3:32 PM, Afzaal <wordpress at thinkupthemes.com> wrote:
>> Hi,
>> I'm currently reviewing a theme where the author is deregistering a
>> WordPress bundled stylesheet "wp-mediaelement". This is being done within a
>> custom theme class and immediately the authors own stylesheet is being
>> registered.
>> Is there any problems with doing this? I know that deregistering some
>> scripts such as jQuery are not allowed, so thought it best to ask.
>> Thanks,
>> Afzaal
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers

More information about the theme-reviewers mailing list