From 0c8b959a3e2b920d17e5c19711536641bd32be75 Mon Sep 17 00:00:00 2001 From: NIU Administrator Date: Sun, 1 Nov 2020 18:47:16 +0900 Subject: [PATCH] use home_url('/') instead of bloginfo('url'). --- functions.php | 8 ++++---- header.php | 2 +- module_top_list_post.php | 4 ++-- search.php | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/functions.php b/functions.php index 6dbd02a..fb6d1f2 100644 --- a/functions.php +++ b/functions.php @@ -117,14 +117,14 @@ add_action('widgets_init', 'cbsonline_widgets_init'); // tweak bogo plugin // - disable flags -add_filter('bogo_use_flags', 'bogo_use_flags_false'); -function bogo_use_flags_false() +add_filter('bogo_use_flags', 'cbsonline_bogo_use_flags_false'); +function cbsonline_bogo_use_flags_false() { return false; } // - remove ' (United States)' strings from en_US language -add_filter('bogo_language_switcher', 'replace_bogo_text'); -function replace_bogo_text($output) +add_filter('bogo_language_switcher', 'cbsonline_replace_bogo_text'); +function cbsonline_replace_bogo_text($output) { return str_replace(' (United States)', '', $output); } diff --git a/header.php b/header.php index 44ea1c3..f6960b9 100644 --- a/header.php +++ b/header.php @@ -51,7 +51,7 @@ biz_vektor_get_theme_options(); ?> -