Changeset 2676 for trunk/bp-themes/bp-default/functions.php
- Timestamp:
- 02/11/2010 02:54:12 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r2671 r2676 138 138 /**** 139 139 * Custom header image support. You can remove this entirely in a child theme by adding this line 140 * to your functions.php: remove_action( ' template_redirect', 'bp_dtheme_add_custom_header_support' );140 * to your functions.php: remove_action( 'init', 'bp_dtheme_add_custom_header_support' ); 141 141 */ 142 142 function bp_dtheme_add_custom_header_support() { … … 210 210 add_custom_image_header( 'bp_dtheme_header_style', 'bp_dtheme_admin_header_style' ); 211 211 } 212 add_action( ' template_redirect', 'bp_dtheme_add_custom_header_support' );212 add_action( 'init', 'bp_dtheme_add_custom_header_support' ); 213 213 214 214 function bp_dtheme_remove_redundant() {
Note: See TracChangeset
for help on using the changeset viewer.