Fixed html santization
This commit is contained in:
		
							parent
							
								
									6a75da7aae
								
							
						
					
					
						commit
						a02b12212c
					
				@ -479,9 +479,10 @@ $wp_customize->add_panel( 'portage', array(
 | 
			
		||||
	) );
 | 
			
		||||
 | 
			
		||||
	$wp_customize->add_setting( 'portage_copyright', array(
 | 
			
		||||
		'type'           => 'theme_mod',
 | 
			
		||||
		'transport'      => 'postMessage',
 | 
			
		||||
		'sanitize_callback'       => 'html',
 | 
			
		||||
		'type'                => 'theme_mod',
 | 
			
		||||
		'transport'           => 'postMessage',
 | 
			
		||||
		'default'             => $default_copyright,
 | 
			
		||||
		'sanitize_callback'   => 'wp_kses_post',
 | 
			
		||||
	) );
 | 
			
		||||
 | 
			
		||||
$default_copyright = '<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" id="cc-button" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.';
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user