From aca5243154775ee23bbfc0aa32ef8a1f1336803f Mon Sep 17 00:00:00 2001 From: Dekart Deploy Bot Date: Mon, 20 Jul 2026 07:01:30 +0000 Subject: [PATCH] Global 2026-07-20 functions.php --- wp-content/themes/dekart/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-content/themes/dekart/functions.php b/wp-content/themes/dekart/functions.php index 36f96c9..acc396a 100644 --- a/wp-content/themes/dekart/functions.php +++ b/wp-content/themes/dekart/functions.php @@ -9,6 +9,9 @@ require_once get_template_directory() . '/inc/class-pksh-data.php'; * blogname (Внешний вид → Настроить → Свойства сайта) берётся из branch_name. */ add_filter( 'pre_option_blogname', function( $default ) { + if ( is_admin() ) { + return $default; + } $branch = get_option( 'branch_name' ); if ( ! empty( $branch ) ) { return $branch;