You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating a multisite network with a project of mine, based on WP Skeleton, WP alerts me that subfolders based network are not completely supported, or something like that. Anyway, I did this and it's apparently working fine. The unique problem I had until now was that network-admin was not redirecting correctly. But I could fix it with this mu-plugin.
/**
* Plugin Name: Pitou: Network Fix
* Description: Try to provide a better experience when working with WP Network.
*/
final class Pitou_Network_Fix
{
function __construct()
{
add_filter('network_admin_url', array(&$this, 'get_network_admin_url'), 10, 2);
}
function get_network_admin_url($url, $path)
{
return str_replace('wp-admin/network/', 'neferpitou/wp-admin/network/', $url);
}
}
new Pitou_Network_Fix();
Please, notice that the code neferpitou/wp-admin/network/ is equivalent to wp/wp-admin/network/.
So, what would be the expected issues I could have in the future? I'd like to know what kind of risks existis if I deploy this project in production.
Thanks,
Thiago
The text was updated successfully, but these errors were encountered:
Hi,
when creating a multisite network with a project of mine, based on WP Skeleton, WP alerts me that subfolders based network are not completely supported, or something like that. Anyway, I did this and it's apparently working fine. The unique problem I had until now was that network-admin was not redirecting correctly. But I could fix it with this mu-plugin.
Please, notice that the code
neferpitou/wp-admin/network/
is equivalent towp/wp-admin/network/
.So, what would be the expected issues I could have in the future? I'd like to know what kind of risks existis if I deploy this project in production.
Thanks,
Thiago
The text was updated successfully, but these errors were encountered: