Steps to reproduce the issue
- Add the following to a functionality plugin on your site:
/**
* Stop Holiday Snow from loading.
*
* @param array $tools Array of theme tools available in Jetpack.
*/
function jeherve_rm_holiday_snow_tool( $tools ) {
$index = array_search( 'holiday-snow.php', $tools );
if ( false != $index ) {
unset( $tools[ $index ] );
}
return $tools;
}
add_filter( 'jetpack_tools_to_include', 'jeherve_rm_holiday_snow_tool' );
- The Holiday Snow file isn't loaded anymore on your site.
- Go to Jetpack > Settings > Appearance.
- The Holiday Snow card still appears, although you can't turn it on.
{"code":"some_updated","message":"Invalid option: false.","data":{"status":400}}
Steps to reproduce the issue
{"code":"some_updated","message":"Invalid option: false.","data":{"status":400}}