I changed the functionality of the WordPress Gallery. Now when I add a gallery it changes into a slider, each image as a slide. I’m trying to make a WordPress Theme and my question is:
It is ok to make a function that changes the Gallery into a Slideshow ?
In short, no. You should not override the wordpress core’s functionality as:
You are best extending the functionality by implementing such changes into your theme or a custom plugin that you ship with your theme. Here is a good (and humorous) article explaining why this is a bad idea more in depth: http://websynthesis.com/dont-hack-wordpress-core/