Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion fields/class-npx-acf-field-image-aspect-ratio-crop-v5.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class npx_acf_field_image_aspect_ratio_crop extends acf_field
/** @var string */
public $temp_post_id;

/** @var array */
public $settings;

/*
* __construct
*
Expand Down Expand Up @@ -1135,5 +1138,6 @@ function wp_prepare_attachment_for_js($response, $attachment, $meta)
}

// initialize
new npx_acf_field_image_aspect_ratio_crop($this->settings);
$instance = new npx_acf_field_image_aspect_ratio_crop($this->settings);
acf_register_field_type($instance);
?>