t' ), 'description' => __( 'Match terms with the listed IDs.' ), 'type' => 'array', 'items' => array( 'type' => 'integer', ), ), array( 'title' => __( 'Term ID Taxonomy Query' ), 'description' => __( 'Perform an advanced term query.' ), 'type' => 'object', 'properties' => array( 'terms' => array( 'description' => __( 'Term IDs.' ), 'type' => 'array', 'items' => array( 'type' => 'integer', ), 'default' => array(), ), 'include_children' => array( 'description' => __( 'Whether to include child terms in the terms limiting the result set.' ), 'type' => 'boolean', 'default' => false, ), ), 'additionalProperties' => false, ), ), ); $include_schema = array_merge( array( /* translators: %s: Taxonomy name. */ 'description' => __( 'Limit result set to items with specific terms assigned in the %s taxonomy.' ), ), $limit_schema ); // 'operator' is supported only for 'include' queries. $include_schema['oneOf'][1]['properties']['operator'] = array( 'description' => __( 'Whether items must be assigned all or any of the specified terms.' ), 'type' => 'string', 'enum' => array( 'AND', 'OR' ), 'default' => 'OR', ); $exclude_schema = array_merge( array( /* translators: %s: Taxonomy name. */ 'description' => __( 'Limit result set to items except those with specific terms assigned in the %s taxonomy.' ), ), $limit_schema ); foreach ( $taxonomies as $taxonomy ) { $base = ! empty( $taxonomy->rest_base ) ? $taxonomy->rest_base : $taxonomy->name; $base_exclude = $base . '_exclude'; $query_params[ $base ] = $include_schema; $query_params[ $base ]['description'] = sprintf( $query_params[ $base ]['description'], $base ); $query_params[ $base_exclude ] = $exclude_schema; $query_params[ $base_exclude ]['description'] = sprintf( $query_params[ $base_exclude ]['description'], $base ); if ( ! $taxonomy->hierarchical ) { unset( $query_params[ $base ]['oneOf'][1]['properties']['include_children'] ); unset( $query_params[ $base_exclude ]['oneOf'][1]['properties']['include_children'] ); } } return $query_params; } }
Fatal error: Uncaught Error: Class 'WP_REST_Posts_Controller' not found in /home/svecomtr/deterjancim.com/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:17 Stack trace: #0 /home/svecomtr/deterjancim.com/wp-settings.php(290): require() #1 /home/svecomtr/deterjancim.com/wp-config.php(106): require_once('/home/svecomtr/...') #2 /home/svecomtr/deterjancim.com/wp-load.php(50): require_once('/home/svecomtr/...') #3 /home/svecomtr/deterjancim.com/wp-blog-header.php(13): require_once('/home/svecomtr/...') #4 /home/svecomtr/deterjancim.com/index.php(17): require('/home/svecomtr/...') #5 {main} thrown in /home/svecomtr/deterjancim.com/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17

Fatal error: Uncaught Error: Call to a member function set() on null in /home/svecomtr/deterjancim.com/wp-includes/l10n.php:856 Stack trace: #0 /home/svecomtr/deterjancim.com/wp-includes/l10n.php(959): load_textdomain('default', '/home/svecomtr/...', 'tr_TR') #1 /home/svecomtr/deterjancim.com/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/svecomtr/deterjancim.com/wp-includes/l10n.php on line 856