Seravo / wp-https-domain-alias

This plugin allows your site to fall back to a secure HTTPS domain when a certificate is not available.
GNU General Public License v3.0
18 stars 10 forks source link

Not working as intended for multisites with over 100 sites #30

Open spktklr opened 8 years ago

spktklr commented 8 years ago

https://github.com/Seravo/wp-https-domain-alias/blob/master/https-domain-alias.php#L112 has a call to wp_get_sites()

However, wp_get_sites defaults to max 100 sites https://core.trac.wordpress.org/browser/tags/4.4.2/src/wp-includes/ms-functions.php#L2435

anttiviljami commented 8 years ago

Thanks for the bug report! Do you want to fix and PR?

spktklr commented 8 years ago

Sure, why not.