[wp-trac] [WordPress Trac] #22186: Backwards compatibility for admin/includes/media.php hooks

WordPress Trac noreply at wordpress.org
Wed Nov 21 19:29:58 UTC 2012


#22186: Backwards compatibility for admin/includes/media.php hooks
--------------------------+------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by Chouby):

 Replying to [comment:15 koopersmith]:
 > Adding `define( 'SCRIPT_DEBUG', true );` to `wp-config.php` will help —
 it makes sure you're using the development scripts instead of the minified
 scripts, which often lag behind.

 Yes. SCRIPT_DEBUG is set to true. But it's all my fault. Setting
 WP_DISPLAY_DEBUG to false solved the issue caused by a notice:[[BR]]
 PHP Notice:  Undefined offset: 1 in /wp-includes/media.php on line 1242
 (build beta3-22734)[[BR]]
 This notice was due to an attachment created without media by my plugin
 which currently does not work correctly with the current beta version of
 WP 3.5

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


More information about the wp-trac mailing list