[wp-trac] [WordPress Trac] #55563: The function get_allowed_mime_types should check wp_get_current_user

WordPress Trac noreply at wordpress.org
Thu Apr 9 05:30:04 UTC 2026


#55563: The function get_allowed_mime_types should check wp_get_current_user
------------------------------------+------------------------------
 Reporter:  giuse                   |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Formatting              |     Version:  5.9.3
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+------------------------------
Changes (by bruheshwarinikhil):

 * Attachment "55563.3.diff" added.

 Updated patch adding function_exists('wp_get_current_user') check and unit
 tests

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55563>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list