Envato theme check

I have converted HTML to Wordpress. That’s why I have created some custom widgets and it’s working fine. Now I am trying to solve error using Envato theme check plugin. I have solved most of the waring but can’t solve. i think I can’t understand what is the problem of this error?

You must create your custom plugin in which you will move custom Widgets and that plugin to bundle with the theme (using TGMPA you should alert customer to install the required/custom plugin).

So, by default there will no custom widgets in the theme - they will be added after the plugin is installed. The same is for custom post types (if you are using any of them).

*update - if I am not wrong, you are unregistering the default Recent Posts widget? Don’t do that. Just add your new/custom Recent Posts Widget.