[wp-trac] [WordPress Trac] #11976: wp_iframe() style inclusion when using objects/methods
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 22 20:17:36 UTC 2010
#11976: wp_iframe() style inclusion when using objects/methods
--------------------------+-------------------------------------------------
Reporter: technosailor | Owner: technosailor
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords: css wp-admin media
--------------------------+-------------------------------------------------
Small bug in wp_iframe() pertaining to the inclusion of the media
stylesheet. The determination of whether to include the media stylesheet
is based on the assumption that the callback passed to wp_iframe() is a
function name and ignores the possibility of inclusion of a class/method
array pair.
Attached patch corrects this problem.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11976>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list