• Resolved Jared Atchison

    (@jaredatch)


    Howdy,

    Currently the WPForms form builder inside the admin does not function correctly if WP Stateless is activated.

    After doing some digging, it appears it is because WP Stateless globally filters sanitize_file_name in the WordPress admin. The result is any plugin leveraging sanitize_file_name will get unexpected results and potentially break.

    We use that function to sanitize some file names in various places. Example use case can be seen here https://cl.ly/0V103c3w3l3a

    However, due to add_filter('sanitize_file_name', array( 'wpCloud\StatelessMedia\Utility', 'randomize_filename' ), 10); all usage of this function does not work as expected because the file names are being randomized.

    We’d appreciate it of you could look into this when you have time, since right now the only solution we can provide to our users is to deactivate WP Stateless.

    Let me know if you have any questions! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compatibility issue with WPFoOrms’ is closed to new replies.