[wp-trac] [WordPress Trac] #19840: Select custom header or background images from media library
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 22 19:56:19 UTC 2012
#19840: Select custom header or background images from media library
-------------------------------------+------------------
Reporter: jane | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.4
Component: Media | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by sabreuse):
With the latest patch (and also the previous one, but I wasn't ever able
to capture the actual messages), I'm seeing a brief flash of several
notices within the thickbox, immediately after clicking "Use as header
image" or "Use as background".
{{{
Notice: Undefined index: post_title in /var/www/core/wp-
admin/includes/media.php on line 489
Notice: Undefined index: url in /var/www/core/wp-admin/includes/media.php
on line 896
Notice: Undefined index: post_excerpt in /var/www/core/wp-
admin/includes/media.php on line 902
Notice: Undefined index: post_title in /var/www/core/wp-
admin/includes/media.php on line 902
}}}
Those refer to media_send_to_editor() and image_media_send_to_editor().
Everything after that point works as expected, but I'm not sure of the
right approach for the notices - suppress (since they're not actually
attributes we need in this case)? Or?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19840#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list