[wp-trac] [WordPress Trac] #58094: CSV files are prevented in PHP 8.1. due to wp_check_filetype_and_ext()

WordPress Trac noreply at wordpress.org
Sat Jul 1 11:43:05 UTC 2023


#58094: CSV files are prevented in PHP 8.1. due to wp_check_filetype_and_ext()
----------------------------------------------+---------------------
 Reporter:  bradshawtm                        |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  6.3
Component:  Upload                            |     Version:  6.2
 Severity:  minor                             |  Resolution:
 Keywords:  php81 needs-unit-tests has-patch  |     Focuses:
----------------------------------------------+---------------------

Comment (by oglekler):

 It looks like a pure bug fix but still needs a unit test, it can be added
 to data provider data_wp_check_filetype_and_ext(), but it can require
 checking PHP version.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58094#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list