[wp-trac] [WordPress Trac] #46795: Fatal error: Call to undefined function get_available_post_mime_types on frontend

WordPress Trac noreply at wordpress.org
Thu Apr 11 14:03:04 UTC 2019


#46795: Fatal error: Call to undefined function get_available_post_mime_types on
frontend
--------------------------+---------------------
 Reporter:  david.binda   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.2
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by adamsilverstein):

 @davidbinda moving this seems fine, wondering if there is any chance code
 could expect the function where it is and fatal after this move? Another
 approach would be load the existing file on the fly if the function is not
 available.

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


More information about the wp-trac mailing list