[wp-trac] [WordPress Trac] #20240: Fatal error: Call to a member function get_data() on a non-object in ...\wp-includes\media.php on line 1480

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 15 12:53:40 UTC 2012


#20240: Fatal error: Call to a member function get_data() on a non-object in
...\wp-includes\media.php on line 1480
--------------------------+------------------------------
 Reporter:  arena         |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+------------------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [20189]:
 {{{
 #!CommitTicketReference repository="" revision="20189"
 Move wp_plupload_default_settings() to the admin_enqueue_scripts hook to
 prevent fatal errors when admin_init is run outside of normal admin-header
 execution, like admin-ajax. see #19910. fixes #20240.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20240#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list