Image media is creating a new image size of 768px but how do I stop it?
<p>After updating to WordPress 4.5 I was doing a media upload test and I noticed that I was generating a new image size that I cannot figure out how to stop.  </p>

<p>The current function I am using to prevent generating multiple sizes of my media is:</p>

<pre><code>function add_image_insert_override( $sizes ) {
    unset( $sizes[ 'thumbnail' ]);
    unset( $sizes[ 'medium' ]);
    unset( $sizes[ 'large' ]);
    unset( $sizes[ 'full' ] );
    return $sizes;
}
add_filter( 'intermediate_image_sizes_advanced', 'add_image_insert_override' );
</code></pre>

<p>How can I stop WordPress 4.5 from generating images with a width of 768px?</p>