From 0f429bb8d7756a3fa3b6bbef4513023f23049ab8 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Thu, 14 Dec 2023 23:21:08 +0530 Subject: [PATCH] remove FA v6.5.0 temp fix --- includes/deprecated-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/deprecated-functions.php b/includes/deprecated-functions.php index bf11cb36..2823ba4d 100644 --- a/includes/deprecated-functions.php +++ b/includes/deprecated-functions.php @@ -507,7 +507,7 @@ function geodir_fa_6_5_0_fix_get_option( $value, $option ) { return $value; } -add_filter( 'option_wp-font-awesome-settings', 'geodir_fa_6_5_0_fix_get_option', 21, 2 ); +//add_filter( 'option_wp-font-awesome-settings', 'geodir_fa_6_5_0_fix_get_option', 21, 2 ); function geodir_fa_6_5_0_fix_update_option( $value, $old_value, $option ) { if ( ! ( $option == 'wp-font-awesome-settings' && ! empty( $value ) && is_array( $value ) ) ) { @@ -524,4 +524,4 @@ function geodir_fa_6_5_0_fix_update_option( $value, $old_value, $option ) { return $value; } -add_filter( 'pre_update_option_wp-font-awesome-settings', 'geodir_fa_6_5_0_fix_update_option', 21, 3 ); \ No newline at end of file +//add_filter( 'pre_update_option_wp-font-awesome-settings', 'geodir_fa_6_5_0_fix_update_option', 21, 3 ); \ No newline at end of file