[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
Wed Nov 23 21:29:35 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  |
------------------------------+---------------------
Changes (by ryan):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [19428]:
 {{{
 #!CommitTicketReference repository="" revision="19428"
 Move convert_to_screen() back to template.php to avoid fatal errors with
 plugins and themes that direct include template.php into the front end.
 Flag this bad behavior with _doing_it_wrong(). Props nacin. fixes #19342
 }}}

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


More information about the wp-trac mailing list