Skip to content

Commit

Permalink
Spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mreishus committed Nov 5, 2021
1 parent f408ba8 commit 299d48f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public function update_attachment_meta( $id, $item ) {

if ( ! empty( $item['meta'] ) ) {
// Only allow meta properties defined in the schema.
// None of the validation or sanization functions are doing this for me.
// None of the validation or sanitization functions are doing this for me.
$meta_allowed = array_keys( $this->media_schema['properties']['meta']['properties'] );
$meta_filtered = array_intersect_key( $item['meta'], array_flip( $meta_allowed ) );

Expand Down

0 comments on commit 299d48f

Please sign in to comment.