Multisite (site_id) compability
-
Hi.
Thanks for a quite interesting plugin.
A litte suggestion to your code makes it usefull for those who have multiple site_id in their setup.in file “inc/admin-ui.php”
From line 180function mdp_get_site_on_network(){ $sites = wp_get_sites(); ob_start()?>Changing / adding this to:
function mdp_get_site_on_network(){ $args = array('network_id' => null); $sites = wp_get_sites($args); ob_start()?>The ‘network_id => null makes wp_get_sites not limit to the default value of 1.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Multisite (site_id) compability’ is closed to new replies.