[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 19:39:52 UTC 2011


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

Comment (by nacin):

 56 instances of ABSPATH.*includes.*template.php in the plugins directory.
 Who knows how many do it for add_meta_box().

 {{{
 ./plugins/autopaginate/class-Autopaginate-Plugin.php:203:
 require_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/bilingual-linker/bilingual-linker.php:19:require_once(ABSPATH .
 '/wp-admin/includes/template.php');
 ./plugins/bp-groupblog/themes/p2/inc/template-tags.php:46:      require(
 ABSPATH . '/wp-admin/includes/template.php' );
 ./plugins/bsuite/bsuite.php:717:                require_once( ABSPATH
 .'/wp-admin/includes/template.php');
 ./plugins/buddypress-
 courseware/groups/templates/helpers/editor_helpers.php:36:    require_once
 ABSPATH . '/wp-admin/includes/template.php' ;
 ./plugins/buddypress-docs/includes/addon-taxonomy.php:547:
 require_once(ABSPATH . '/wp-admin/includes/template.php');
 ./plugins/bug-library/bug-library.php:42:require_once(ABSPATH . '/wp-
 admin/includes/template.php');
 ./plugins/category-images-ii/class-Plugin.php:428:
 require_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/conference-schedule/plugin.php:429:           require_once(
 ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/cron-view/plugin.php:203:             require_once( ABSPATH .
 'wp-admin/includes/template.php' );
 ./plugins/custom-field-template/custom-field-template.php:150:
 require_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/custom-post-template/plugin.php:185:          require_once(
 ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/dashbar/DashBar.php:223:
 include_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/dashboard-widget-manager/dashboard-widget-manager.php:98:
 require_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/eletro-widgets/eletro-widgets.php:304:
 require_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/es-custom-fields-interface/es-custom-fields-
 interface.php:208:require_once(ABSPATH . 'wp-
 admin/includes/template.php');
 ./plugins/feedwordpress/feedwordpress-walker-category-
 checklist.class.php:10:require_once(ABSPATH.'/wp-
 admin/includes/template.php');
 ./plugins/foliopress-wysiwyg/fckeditor/editor/dialog/internal-
 link.php:16:require_once(ABSPATH.'wp-admin/includes/template.php');
 ./plugins/google-website-optimizer-for-wordpress/gwo4wp.php:52:
 require_once(ABSPATH . 'wp-admin/includes/template.php'); // Needed for
 add_meta_box()
 ./plugins/headline-split-tester/headline-split-test.php:52:
 require_once(ABSPATH . 'wp-admin/includes/template.php'); // Needed for
 add_meta_box()
 ./plugins/headline-split-tester/trunk/headline-split-test.php:52:
 require_once(ABSPATH . 'wp-admin/includes/template.php'); // Needed for
 add_meta_box()
 ./plugins/hm-portfolio/HM Core/cwp-framework/cwp.classes.php:687:
 include_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/intensedebate/intensedebate.php:1429:         include_once
 ABSPATH . '/wp-admin/includes/template.php';
 ./plugins/leaguemanager/admin/admin.php:20:             require_once(
 ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/link-library/link-library.php:53:require_once(ABSPATH . '/wp-
 admin/includes/template.php');
 ./plugins/media-categories/media-categories.php:260:                    if
 (!function_exists('register_column_headers'))        require_once(ABSPATH
 . 'wp-admin/includes/template.php');
 ./plugins/mediaburst-ecommerce-sms-notifications/class-plugin.php:465:
 require_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/mediaburst-email-to-sms/class-Plugin.php:428:
 require_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/modal-dialog/modal-dialog.php:28:require_once(ABSPATH . '/wp-
 admin/includes/template.php');
 ./plugins/ninja-announcements/wp-editor-return.php:138:
 include_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/ninja-galleries/wpnj-media-tags/mediatags_admin.php:355:
 require_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/old-custom-fields/old-custom-fields.php:126:  include_once(
 ABSPATH.'wp-admin/includes/template.php' );
 ./plugins/photoblog/codigos.php:7:require_once(ABSPATH . 'wp-
 admin/includes/template.php');
 ./plugins/pods/ui/input_fields.php:104:        require_once(ABSPATH .
 '/wp-admin/includes/template.php');
 ./plugins/pods/ui/input_fields.php:167:
 require_once(realpath(ABSPATH . '/wp-admin/includes/template.php'));
 ./plugins/pods/ui/wp-editor/wp-editor.php:134:
 include_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/projectmanager/admin/admin.php:20:            require_once(
 ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/qodys-fb-meta/plugin.php:22:  require_once(ABSPATH . 'wp-
 admin/includes/template.php');
 ./plugins/qodys-fb-meta/plugin.php:231:
 require_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/qodys-owl-emporium/ajax/install_plugin.php:10:
 require_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/qodys-redirector/plugin.php:22:       require_once(ABSPATH .
 'wp-admin/includes/template.php');
 ./plugins/qodys-redirector/plugin.php:235:
 require_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/realpress-real-estate-
 plugin/realpress.php:18:require_once(ABSPATH.'wp-
 admin/includes/template.php');
 ./plugins/theme-my-profile/theme-my-profile.php:85:
 require_once( ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/tweet-images/category-walker.php:21:require_once( ABSPATH .
 '/wp-admin/includes/template.php' );
 ./plugins/tweet-images/plugin.php:379:          require_once( ABSPATH .
 'wp-admin/includes/template.php' );
 ./plugins/twitter-tracker/plugin.php:191:               require_once(
 ABSPATH . 'wp-admin/includes/template.php' );
 ./plugins/twshot-for-wordpress/twshot-for-wordpress.php:387:
 include_once ABSPATH.'wp-admin/includes/template.php';
 ./plugins/user-link-feed/user-link-feed.php:30: require_once(ABSPATH .
 '/wp-admin/includes/template.php');
 ./plugins/worker/core.class.php:364:            @include_once ABSPATH .
 'wp-admin/includes/template.php';
 ./plugins/worker/installer.class.php:23:
 include_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/wp-comment-remix/ajax_comments.php:21:require_once(ABSPATH.'wp-
 admin/includes/template.php');
 ./plugins/wpg3/wpg3.php:392:      require_once(ABSPATH.'wp-
 admin/includes/template.php');
 ./plugins/wpzeus-worker/core.class.php:307:            include_once
 ABSPATH . 'wp-admin/includes/template.php';
 ./plugins/wpzeus-worker/installer.class.php:23:
 include_once(ABSPATH . 'wp-admin/includes/template.php');
 ./plugins/zenphoto-gallery/zenphoto_gallery.php:31:  require_once(ABSPATH
 .'/wp-admin/includes/template.php');
 }}}

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


More information about the wp-trac mailing list