Slow sql query in function
-
Hello.
We have a store on vokomercer, there is also a responsive-lightbox plug-in, and in the latest updates, the plugin started to do a huge load on the bd, creating heavy queries.
file:/plugins/responsive-lightbox/includes/class-galleries.php:get_users
Could you, in the next release, change this method to use the native sql query, without using the wordpress function of get_users:
$users = get_users(
array(
‘fields’ => array( ‘ID’, ‘user_login’ )
)
);With large data of wordpress, this code creates a large load on the database.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Slow sql query in function’ is closed to new replies.