This plugin is causing issues with Tribulant Newsletters plugin in WordPress 5.5. (Javascript errors in the admin edit pages).
I am uninstalling and searching for an alternative solution. Disappointed that this isn’t being updated regularly because it’s a great plugin.
]]>This kind of feature should be built-in in WPMU, not sure why it’s not evolving natively.
When searching for let’s say hotel sites, accent characters shouldn’t be considered. In other words, if we search “hotel”, we should find “H?tel”. Most search boxes already do this, because other languages (than english) don’t take the time to type accents.
For the box overflow: https://prnt.sc/qkjmz8
We reverted back to Kailey’s version for now, but we’d love to see this evolve furthermore.
Hey,
I really love this plugin ?? there is just one issue with unsetting and inserting the main page since this overwrites another page of mine in the dropdown list.
I tried to narrow the issue:
Sort_Sites.php >>
if( isset( $blog_names[1] ) ) unset( $blog_names[1] );
This peace of code eliminates one site which is NOT the main site. My main site has the ID 1, thats correct, but the $blog_names array keys are not site_id.
The problem starts here
$sites = $wp_admin_bar->user->blogs;
$blog_name is based on $sites array, which itself has not the site_id as key. I checked this by printing it.
I suggest to use a usort() on $sites (where you have the site_id attribute) rather than eliminating the main site and adding it back in later. This makes your solution more stable.
Best
Clemens