[wp-trac] [WordPress Trac] #19342: Call to undefined function convert_to_screen when using plugins with custom meta boxes

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 25 05:15:30 UTC 2011


#19342: Call to undefined function convert_to_screen when using plugins with custom
meta boxes
------------------------------+---------------------
 Reporter:  jackdewey         |       Owner:  rboren
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.3
Component:  Template          |     Version:  3.3
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by nacin):

 In [19450]:
 {{{
 #!CommitTicketReference repository="" revision="19450"
 Use class_exists() rather than is_admin() as otherwise the unit tests
 won't work without a WP_ADMIN hack. see #19342.
 }}}

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


More information about the wp-trac mailing list