Just testing the code, there is already a deprecated filter in use to switch to:
wpmu_new_blog is obsolete and since wp 5.1.0 is now substituted by -> wp_insert_site
all about wp mums will be checked and eventually fixed on 2.0.2.
More code cuts about redundant and (really not needed) redirects.
Fix a secondary security bug into the custom config.php file, if used. To fix, it's needed to add just a line of code on top of the file, just after the starting <?php tag:
Code: Select all
defined( 'ABSPATH' ) or die( 'forbidden' );