From 58ffde9b2b5d02ed1b9479680ef83183138d628f Mon Sep 17 00:00:00 2001 From: MickeyKay Date: Mon, 31 Mar 2014 14:58:20 -0700 Subject: [PATCH] Added more sanitization for theme options panel. --- lib/admin/admin-functions.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/admin/admin-functions.php b/lib/admin/admin-functions.php index fb961bd..bbef8da 100644 --- a/lib/admin/admin-functions.php +++ b/lib/admin/admin-functions.php @@ -76,8 +76,13 @@ function trestle_register_social_sanitization_filters() { array( 'trestle_auto_nav', 'trestle_include_home_link', - 'trestle_link_icons', + 'trestle_custom_nav_extras', + 'trestle_manual_post_info_meta', 'trestle_equal_height_cols', + 'trestle_external_link_icons', + 'trestle_email_link_icons', + 'trestle_pdf_link_icons', + 'trestle_doc_link_icons', ) ); @@ -86,8 +91,8 @@ function trestle_register_social_sanitization_filters() { 'absint', GENESIS_SETTINGS_FIELD, array( - 'footer-widgets-number', 'trestle_revisions_number', + 'trestle_footer_widgets_number', 'trestle_equal_cols_breakpoint', ) ); @@ -108,6 +113,7 @@ function trestle_register_social_sanitization_filters() { array( 'trestle_home_link_text', 'trestle_nav_button_text', + 'trestle_custom_nav_extras_text', 'trestle_read_more_text' ) );