Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radcliffe 2: Removes logo resize reset testing code #7760

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions radcliffe-2/inc/logo-resizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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