t/** * Limit the request to the Member by its Id. * * @param IQueryBuilder $qb * @param string $memberId */@l/** * Limit the request to the Instance. * * @param IQueryBuilder $qb * @param string $instance */@Kp@z/** * Limit the request to the Circle by its Id. * * @param IQueryBuilder $qb * @param string $circleUniqueId */h@p/** * Limit the request to the Circle by its Id. * * @param IQueryBuilder $qb * @param int $shareId */ v/** * Limit the request to the Circle by its Id. * * @param IQueryBuilder $qb * @param string $mountpoint */p/** * Limit the request to the Circle by its Id. * * @param IQueryBuilder $qb * @param string $hash */@h@o/** * Limit the request to the Group by its Id. * * @param IQueryBuilder $qb * @param int $groupId */q/** * Limit the search by its Status (or greater) * * @param IQueryBuilder $qb * @param string $name */n/** * Left Join circle table to get more information about the circle. * * @param IQueryBuilder $qb */H@H @j@`-p@h@@@(|ЫX&@s/** * @param array $arr * @param int|string $k * * @param string $default * * @return array|string */r-later *//** * return the real userId, with its real case * * @param $userId * * @return string * @throws NoUserException */u/** * Hacky way to async the rest of the process without keeping client on hold. * * @param string $result */r/** * Generate uuid: 2b5a7a87-8db1-445f-a17b-405790f91c80 * * @param int $length * * @return string */@@y@@¢@ϫ X @b( 8P p  @h@X)`@@L@@xǀ@ 菀@ {/** * ContactService constructor. * * @param IURLGenerator $urlGenerator * @param ConfigService $configService */ *//** * @brief finds a contact by specifying the property to search on ($shareType) and the value ($shareWith) * @since 13.0.0 */(ģp'`@Pj@ģjb@Bh£@ȣo@:mѫ ל`࣫@XU5V ã:h5V /** * update password on files previously shared to circleId * * @param string $circleId * @param string $hashedPassword */h/** * @return Circle[] * @throws InitiatorNotFoundException * @throws RequestBuilderException */ AGPL-3.0-or-later */8AAAAAAAAAter */ϫ@p'`@Pj@jb@B@0o@@h@  @`â @@  rotected function validate_request_permission( $check ) { $default_capability = 'view_site_health_checks'; /** * Filters the capability needed to run a given Site Health check. * * @since 5.6.0 * * @param string $default_capability The default capability required for this check. * @param string $check The Site Health check being performed. */ $capability = apply_filters( "site_health_test_rest_capability_{$check}", $default_capability, $check ); return current_user_can( $capability ); } /** * Checks if background updates work as expected. * * @since 5.6.0 * * @return array */ public function test_background_updates() { $this->load_admin_textdomain(); return $this->site_health->get_test_background_updates(); } /** * Checks that the site can reach the WordPress.org API. * * @since 5.6.0 * * @return array */ public function test_dotorg_communication() { $this->load_admin_textdomain(); return $this->site_health->get_test_dotorg_communication(); } /** * Checks that loopbacks can be performed. * * @since 5.6.0 * * @return array */ public function test_loopback_requests() { $this->load_admin_textdomain(); return $this->site_health->get_test_loopback_requests(); } /** * Checks that the site's frontend can be accessed over HTTPS. * * @since 5.7.0 * * @return array */ public function test_https_status() { $this->load_admin_textdomain(); return $this->site_health->get_test_https_status(); } /** * Checks that the authorization header is valid. * * @since 5.6.0 * * @return array */ public function test_authorization_header() { $this->load_admin_textdomain(); return $this->site_health->get_test_authorization_header(); } /** * Checks that full page cache is active. * * @since 6.1.0 * * @return array The test result. */ public function test_page_cache() { $this->load_admin_textdomain(); return $this->site_health->get_test_page_cache(); } /** * Gets the current directory sizes for this install. * * @since 5.6.0 * * @return array|WP_Error */ public function get_directory_sizes() { if ( ! class_exists( 'WP_Debug_Data' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php'; } $this->load_admin_textdomain(); $sizes_data = WP_Debug_Data::get_sizes(); $all_sizes = array( 'raw' => 0 ); foreach ( $sizes_data as $name => $value ) { $name = sanitize_text_field( $name ); $data = array(); if ( isset( $value['size'] ) ) { if ( is_string( $value['size'] ) ) { $data['size'] = sanitize_text_field( $value['size'] ); } else { $data['size'] = (int) $value['size']; } } if ( isset( $value['debug'] ) ) { if ( is_string( $value['debug'] ) ) { $data['debug'] = sanitize_text_field( $value['debug'] ); } else { $data['debug'] = (int) $value['debug']; } } if ( ! empty( $value['raw'] ) ) { $data['raw'] = (int) $value['raw']; } $all_sizes[ $name ] = $data; } if ( isset( $all_sizes['total_size']['debug'] ) && 'not available' === $all_sizes['total_size']['debug'] ) { return new WP_Error( 'not_available', __( 'Directory sizes could not be returned.' ), array( 'status' => 500 ) ); } return $all_sizes; } /** * Loads the admin textdomain for Site Health tests. * * The {@see WP_Site_Health} class is defined in WP-Admin, while the REST API operates in a front-end context. * This means that the translations for Site Health won't be loaded by default in {@see load_default_textdomain()}. * * @since 5.6.0 */ protected function load_admin_textdomain() { // Accounts for inner REST API requests in the admin. if ( ! is_admin() ) { $locale = determine_locale(); load_textdomain( 'default', WP_LANG_DIR . "/admin-$locale.mo", $locale ); } } /** * Gets the schema for each site health test. * * @since 5.6.0 * * @return array The test schema. */ public function get_item_schema() { if ( $this->schema ) { return $this->schema; } $this->schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'wp-site-health-test', 'type' => 'object', 'properties' => array( 'test' => array( 'type' => 'string', 'description' => __( 'The name of the test being run.' ), 'readonly' => true, ), 'label' => array( 'type' => 'string', 'description' => __( 'A label describing the test.' ), 'readonly' => true, ), 'status' => array( 'type' => 'string', 'description' => __( 'The status of the test.' ), 'enum' => array( 'good', 'recommended', 'critical' ), 'readonly' => true, ), 'badge' => array( 'type' => 'object', 'description' => __( 'The category this test is grouped in.' ), 'properties' => array( 'label' => array( 'type' => 'string', 'readonly' => true, ), 'color' => array( 'type' => 'string', 'enum' => array( 'blue', 'orange', 'red', 'green', 'purple', 'gray' ), 'readonly' => true, ), ), 'readonly' => true, ), 'description' => array( 'type' => 'string', 'description' => __( 'A more descriptive explanation of what the test looks for, and why it is important for the user.' ), 'readonly' => true, ), 'actions' => array( 'type' => 'string', 'description' => __( 'HTML containing an action to direct the user to where they can resolve the issue.' ), 'readonly' => true, ), ), ); return $this->schema; } } Bullshit – Boris Stumpf

Schlagwort: Bullshit

  • Maskenpflicht – wie jetzt?

    Nach dem ab 1. Oktober geltenden neuen Infektionsschutzgesetz muss ich, wenn ich z.B. mit dem ICE (Sprinter) von Frankfurt nach Berlin fahre, eine FFP2-Maske tragen. Fliege ich dieselbe Strecke dagegen mit dem Linienflugzeug, besteht keine Maskenpflicht. Mit Verlaub, so lange mir für diese Absonderlichkeit niemand einen nachvollziehbaren, vernünftigen Sach-Grund (!) nennt, betrachte ich dieses Gesetz…