Changeset 16677
- Timestamp:
- 12/02/2010 12:50:23 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r16674 r16677 1479 1479 remove_theme_support( 'custom-header-uploads' ); 1480 1480 1481 if ( ! is_admin() ) 1482 return; 1483 1484 global $custom_image_header; 1485 1486 remove_action( 'admin_menu', array( &$custom_image_header, 'init' ) ); 1487 1488 unset( $GLOBALS['custom_image_header'] ); 1481 if ( is_admin() ) { 1482 remove_action( 'admin_menu', array( &$GLOBALS['custom_image_header'], 'init' ) ); 1483 unset( $GLOBALS['custom_image_header'] ); 1484 } 1485 1489 1486 return true; 1490 1487 }
Note: See TracChangeset
for help on using the changeset viewer.