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;