﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14899	Remove Theme Support not Working	adeptris		"I have a ""twenty ten"" child theme and I want to disable the Custom Header and Custom Background Support, I added this code to my functions.php but it is not working.

I have tried the following in the Child Theme function.php

{{{
/* Remove theme support for Background and Headers */
function remove_custom_theme_support(){
	remove_theme_support('custom-header');
	remove_theme_support('custom-background');
}
add_action( 'after_setup_theme', 'remove_custom_theme_support', 11 );
}}}

I have also tried


{{{
/* Remove theme support for Background and Headers */
function remove_custom_theme_support(){
	remove_theme_support('custom-header');
	remove_theme_support('custom-background');
}
add_action( 'init', 'remove_custom_theme_support' );
}}}

I have tried Google and Codex, is this a know bug. or my code?

Codex says!
Allows a theme to de-register its support of a certain feature. Should be called in the theme's functions.php file. Generally would be used for child themes to override support from the parent theme.

David

David"	defect (bug)	closed	normal		General	3.1	normal	invalid		
