Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Update theme-options.php #64

Merged
merged 1 commit into from
Jan 14, 2019
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
2 changes: 1 addition & 1 deletion includes/theme-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function benenson_register_theme_options() {
register_setting( 'theme_options', '_social_youtube', $text_field_args );
register_setting( 'theme_options', '_social_instagram', $text_field_args );

register_setting( 'theme_options', '_logo', [ 'sanitize_callback', 'benenson_sanitize_attachment_id' ] );
register_setting( 'theme_options', '_logo', [ 'sanitize_callback' => 'benenson_sanitize_attachment_id' ] );
register_setting( 'theme_options', '_logo_url', $text_field_args );

register_setting( 'theme_options', '_default_sidebar_page', $sidebar_args );
Expand Down