Changeset 45088 for trunk/src/wp-includes/theme.php
- Timestamp:
- 04/01/2019 04:17:11 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r44894 r45088 2731 2731 } 2732 2732 $support = get_theme_support( 'custom-background' ); 2733 remove_action( 'wp_head', $support[0]['wp-head-callback'] ); 2733 if ( isset( $support[0]['wp-head-callback'] ) ) { 2734 remove_action( 'wp_head', $support[0]['wp-head-callback'] ); 2735 } 2734 2736 remove_action( 'admin_menu', array( $GLOBALS['custom_background'], 'init' ) ); 2735 2737 unset( $GLOBALS['custom_background'] );
Note: See TracChangeset
for help on using the changeset viewer.