Removes logo resize reset testing code (#7760)
This commit is contained in:
parent
3d06d9be4b
commit
c5481c18e7
1 changed files with 0 additions and 10 deletions
|
@ -136,13 +136,3 @@ function logo_awesomeness_customize_css() {
|
|||
wp_add_inline_style( 'customize-controls', '#customize-control-logo_size input[type=range] { width: 100%; }' );
|
||||
}
|
||||
add_action( 'customize_controls_enqueue_scripts', 'logo_awesomeness_customize_css' );
|
||||
|
||||
/**
|
||||
* Testing function to remove logo_size theme mod
|
||||
*/
|
||||
function logo_awesomeness_remove_theme_mod() {
|
||||
if ( isset( $_GET['remove_logo_size'] ) && 'true' == $_GET['remove_logo_size'] ){
|
||||
set_theme_mod( 'logo_size', '' );
|
||||
}
|
||||
}
|
||||
add_action( 'wp_loaded', 'logo_awesomeness_remove_theme_mod' );
|
||||
|
|
Loading…
Reference in a new issue