Plugin Directory


Ignore:
Timestamp:
12/04/2026 02:58:35 PM (8 hours ago)
Author:
foldrocket
Message:

Release FoldRocket 1.5.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foldrocket/trunk/src/Rest/Controllers/AssetsController.php

    r3843503 r3844682  
    5252                                                        'type'              => 'boolean',
    5353                                                        'default'           => true,
     54                                                        'sanitize_callback' => 'rest_sanitize_boolean',
     55                                                ),
     56                                                'count_only' => array(
     57                                                        'type'              => 'boolean',
     58                                                        'default'           => false,
    5459                                                        'sanitize_callback' => 'rest_sanitize_boolean',
    5560                                                ),
    … …  
    467472                                'cursor'            => $cursor,
    468473                                '_include_total'     => filter_var( $request->get_param( 'include_total' ), FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE ) ?? true,
     474                                '_count_only'        => filter_var( $request->get_param( 'count_only' ), FILTER_VALIDATE_BOOLEAN ),
    469475                                'search'            => (string) $request->get_param( 'search' ),
    470476                                'folder_id'         => $request->get_param( 'folder_id' ) ? $this->int_param( $request, 'folder_id' ) : null,
Note: See TracChangeset for help on using the changeset viewer.