[wp-trac] [WordPress Trac] #53167: upload_filetypes should map to get_allowed_mime_types

WordPress Trac noreply at wordpress.org
Sat Jun 1 05:41:38 UTC 2024


#53167: upload_filetypes should map to get_allowed_mime_types
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.6
Component:  Networks and Sites                   |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing-info has-    |     Focuses:  multisite,
  unit-tests                                     |  performance
-------------------------------------------------+-------------------------

Comment (by costdev):

 Playground links:
 - [https://playground.wordpress.net/?multisite=yes&url=/wp-
 admin/network/settings.php Latest WordPress]
 -
 [https://playground.wordpress.net/?mode=seamless#{%22$schema%22:%22https://playground.wordpress.net
 /blueprint-schema.json%22,%22landingPage%22:%22/wp-
 admin/network/settings.php%22,%22steps%22:[{%22step%22:%22mkdir%22,%22path%22:%22
 /wordpress-
 new%22},{%22step%22:%22writeFile%22,%22path%22:%22/tmp/pr.zip%22,%22data%22:{%22resource%22:%22url%22,%22url%22:%22
 /plugin-proxy.php?org=WordPress&repo=wordpress-
 develop&workflow=Test%20Build%20Processes&artifact=wordpress-
 build-6380&pr=6380%22,%22caption%22:%22Downloading%20WordPress%20PR%206380%22}},{%22step%22:%22unzip%22,%22zipPath%22:%22/tmp/pr.zip%22,%22extractToPath%22:%22/tmp%22},{%22step%22:%22rm%22,%22path%22:%22/tmp/pr.zip%22},{%22step%22:%22importWordPressFiles%22,%22wordPressFilesZip%22:{%22resource%22:%22vfs%22,%22path%22:%22/tmp/wordpress.zip%22},%22pathInZip%22:%22/build%22,%22progress%22:{%22weight%22:20,%22caption%22:%22Applying%20WordPress%20PR%206380%22}},{%22step%22:%22enableMultisite%22},{%22step%22:%22runPHP%22,%22code%22:%22%3C?php\n\t\t\t\t\t\t\t$_GET[%27step%27%5D%20=%20%27upgrade_db%27;\n\t\t\t\t\t\t\trequire%20%27/wordpress
 /wp-
 admin/upgrade.php%27;\n\t\t\t\t\t\t%22},{%22step%22:%22login%22,%22username%22:%22admin%22,%22password%22:%22password%22%7D%5D%7D
 PR 6360]

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


More information about the wp-trac mailing list