Database timeout accesing gallery slides

I have timeout issues trying to access the slides in a gallery.

I have installed a query monitor and I have discovered that going to the control panel and trying to access to a gallery with 22 slides are made 1110 queries to the database!!!

This is the query that generate most of the issues:

FROM wp_gallery_slides

and it is made 434 times.

It is necesary this query to be made so many times?

Thanks in advance.
Sign In or Register to comment.