patch errors
This commit is contained in:
@ -49,7 +49,7 @@ function sophia_after_dark_customize_general_panels_sections_register( $wp_custo
|
||||
)
|
||||
)
|
||||
);
|
||||
$wp_customize->add_control(new Sophia_After_Dark_Image_control(
|
||||
$wp_customize->add_control(new WP_Customize_Image_control(
|
||||
$wp_customize, 'sophia_after_dark_home_og_image', array(
|
||||
'label' => __('Home Page Open Graph Image', 'sophia_after_dark'),
|
||||
'section' => 'sophia_after_dark_section_site',
|
||||
|
@ -25,8 +25,6 @@ function sophia_after_dark_customize_register( $wp_customize ) {
|
||||
$wp_customize->get_section( 'header_image' )->description = __( 'Header Image for only Innerpages', 'sophia-after-dark' );
|
||||
$wp_customize->add_setting('sophia_after_dark_home_og_image', array('default' => '','sanitize_callback' => 'esc_url_raw','type' => 'option',));
|
||||
$wp_customize->add_setting('sophia_after_dark_home_og_user', array('default' => 1,'sanitize_callback' => 'absint','type' => 'option',));
|
||||
$wp_customize->add_setting('sophia_after_dark_mastodon', array('default' => 1,'sanitize_callback' => 'absint','type' => 'option',));
|
||||
|
||||
if ( isset( $wp_customize->selective_refresh ) ) {
|
||||
$wp_customize->selective_refresh->add_partial( 'blogname', array(
|
||||
'selector' => '.site-title a',
|
||||
|
Reference in New Issue
Block a user