Add code to update uagb_site_url
-
Hello,
There is no update touagb_site_urlin the code. As a result, after cloning the site or changing the domain, the plugin starts to work excessively, refreshing asset versions and regenerating all assets. This also causes database spam, rapidly increasing the size of binlogs. On large multisite networks, this leads to significant performance issues.
Would it be possible to add this line so that the current domain is also updated after a domain change?
wp-content/plugins/ultimate-addons-for-gutenberg/classes/class-uagb-loader.php (line 619)if ( $stored_domain !== $site_domain ) {
//add above line
\UAGB_Admin_Helper::update_admin_settings_option( 'uagb_site_url', $site_domain );
\UAGB_Admin_Helper::update_admin_settings_option( '__uagb_asset_version', time() );
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Add code to update uagb_site_url’ is closed to new replies.