Changeset 19450
- Timestamp:
- 11/25/2011 05:15:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r19428 r19450 1807 1807 */ 1808 1808 function convert_to_screen( $hook_name ) { 1809 if ( ! is_admin() ) {1809 if ( ! class_exists( 'WP_Screen' ) ) { 1810 1810 _doing_it_wrong( 'convert_to_screen(), add_meta_box()', __( "Likely direct inclusion of wp-admin/includes/template.php in order to use add_meta_box(). This is very wrong. Hook the add_meta_box() call into the add_meta_boxes action instead." ), '3.3' ); 1811 1811 return (object) array( 'id' => '_invalid', 'base' => '_are_belong_to_us' );
Note: See TracChangeset
for help on using the changeset viewer.