FeatureFuel
8

Elementor Pro updated support for Pods 2.9+ -- Simple fix

Source: elementor/elementor#19359 · opened by @sc0ttkclark
This one is easy, I hope your developers can accommodate the simple one-line change to support a new feature in Pods 2.9+ that will be released in a few days. I am the Lead Developer of the Pods Framework, we have some changes coming in Pods 2.9 that support more fine tuned image file types being selected for our File fields. There needs to be a change in an Elementor Pro file to support this properly. The file is: elementor-pro/modules/dynamic-tags/pods/module.php On line 99, this: if ( 'images' !== $field['options']['file_type'] ) { Should be changed to: if ( ! in_array( $field['options']['file_type'], [ 'images', 'images-any', 'any', 'other' ], true ) ) { We added support for an images-any option in Pods 2.9+ -- it works the same as images, but it allows for any "image/*" mime type supported by WordPress instead of just the four we had support for. Please pass…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests