I’m developing a WordPress theme and:
My Theme already provides a (potentially better) widget than the one WordPress or a popular plugin provides.
I’ve stated my theme supports a plugin but there is a widget provided by that plugin that I really do not wish my theme to support (i.e. no style for that widget) and I have not replaced it.
Therefore is it acceptable for my theme to deregister a WordPress core or arbitrary plugin widget if the theme is to be distributed on WordPress.org?
In doing so I realise it may confuse the user if they install a plugin and expect a widget to exist or they swap their theme and the plugin is no longer available.
For more info on point (2) above let’s consider Jetpack. It provides many widgets but I find one of the widgets’ structure or HTML so poorly written that it’s challenging to style it adequately.
Read more here:: Is it acceptable for a theme to deregister a widget?