Changeset 19593 for trunk/wp-admin/includes/screen.php
- Timestamp:
- 12/13/2011 11:45:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/screen.php
r19563 r19593 209 209 final class WP_Screen { 210 210 /** 211 * Any action associated with the screen. 'add' for *-add.php and *-new.php screens. 211 * Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise. 212 212 * 213 213 * @since 3.3.0 … … 218 218 219 219 /** 220 * The base type of the screen. 220 * The base type of the screen. This is typically the same as $id but with any post types and taxonomies stripped. 221 221 * For example, for an $id of 'edit-post' the base is 'edit'. 222 222 * … … 540 540 * @since 3.3.0 541 541 * 542 * @param string $parent_file The parent file of the screen. 542 * @param string $parent_file The parent file of the screen. Typically the $parent_file global. 543 543 */ 544 544 function set_parentage( $parent_file ) { … … 810 810 } 811 811 echo '<label for="wp_welcome_panel-hide">'; 812 echo '<input type="checkbox" id="wp_welcome_panel-hide"' . checked( (bool) $welcome_checked, true, false ) 812 echo '<input type="checkbox" id="wp_welcome_panel-hide"' . checked( (bool) $welcome_checked, true, false ) . ' />'; 813 813 echo __( 'Welcome' ) . "</label>\n"; 814 814 }
Note: See TracChangeset
for help on using the changeset viewer.