Changeset 9055 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api-request.php
- Timestamp:
- 07/18/2019 08:28:52 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api-request.php
r9051 r9055 33 33 'tested' => false, 34 34 'stable_tag' => false, 35 'blocks' => false, 36 'block_assets' => false, 35 37 ); 36 38 … … 52 54 'tags' => true, 53 55 'tested' => true, 56 'blocks' => false, 57 'block_assets' => false, 54 58 ); 55 59 … … 83 87 'tags' => true, 84 88 'tested' => true, 89 'blocks' => false, 90 'block_assets' => false, 85 91 ); 86 92 … … 152 158 } 153 159 160 // If it's a block search, include blocks in the response by default 161 if ( ! empty( $this->args->block ) ) { 162 $fields['blocks'] = true; 163 $fields['block_assets'] = true; 164 } 165 154 166 $fields = array_merge( $fields, $this->requested_fields ); 155 167
Note: See TracChangeset
for help on using the changeset viewer.