New Blog Templates is with a similar problem to Domain Mapping 22.214.171.124 version slow queries (https://premium.wpmudev.org/forums/topic/domain-mapping-query-monitor-plugins-shows-domain-mapping-is-generating-a-slow-query). On Query Monitor plugin shows that it is loading a lot of rows because of this code:
do_action('plugins_loaded') wp-includes/plugin.php:453 nbt_load_text_domain() wp-content/plugins/blogtemplates/blogtemplates.php:79 load_plugin_textdomain() wp-includes/l10n.php:762 determine_locale() wp-includes/l10n.php:134 get_user_locale()
Executing this db query:
SELECT user_id, meta_key, meta_value FROM xxxx_usermeta WHERE user_id IN (1) ORDER BY umeta_id ASC
That is being executed everywhere, now only in a place where I would need the load_plugin_textdomain() for example. Thank you very much!