[wp-trac] [WordPress Trac] #22186: Backwards compatibility for admin/includes/media.php hooks
WordPress Trac
noreply at wordpress.org
Wed Nov 21 19:38:42 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 nacin):
Replying to [comment:25 Chouby]:
> 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
That sounds like a valid bug, can you report it? In 3.4 we never made the
explicit assumption that a mime type has a minimum of two parts when you
split it by "/". In 3.5, we do.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22186#comment:26>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list