A small bug in ClassicPress SEO plugin

By default, ClassicPress generates the string:

meta name=“robots” content=“max-image-preview:large”

ClassicPress SEO generates:

meta name=“robots” content=“max-snippet:-1,max-video-preview:-1,max-image-preview:large”

So we have two strings for robots. I don’t know if it’s harmful to SEO. But this looks strange.

The fix is simple:

remove_filter( ‘wp_robots’, ‘wp_robots_max_image_preview_large’ );

P.S. I rewrote ClassicSEO a bit to better suit my needs. But not sure if this will be helpful for other developers and users.

Feel free to open one or more PR with your changes.

Sorry, I’m not a real developer. I don’t know where or how it will be better to implement such changes. And even newer opened PR.