Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jul 26, 2021
1 parent 3fadc87 commit 4bedabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function( $current_screen ) {
* @param object $raw_pattern The unprepared pattern.
*/
function filter_block_pattern_response( $response, $raw_pattern ) {
$data = $response->get_data();
$data = $response->get_data();
$data['block_types'] = array_map( 'sanitize_text_field', $raw_pattern->meta->wpop_block_types );
$response->set_data( $data );
return $response;
Expand Down

0 comments on commit 4bedabf

Please sign in to comment.