Changeset 38414
- Timestamp:
- 08/28/2016 02:24:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r38411 r38414 1990 1990 */ 1991 1991 function convert_to_screen( $hook_name ) { 1992 if ( ! class_exists( 'WP_Screen' , false) ) {1992 if ( ! class_exists( 'WP_Screen' ) ) { 1993 1993 _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.0' ); 1994 1994 return (object) array( 'id' => '_invalid', 'base' => '_are_belong_to_us' );
Note: See TracChangeset
for help on using the changeset viewer.