From 864dad25fce7ef1702332cdc98e5cc2dbc2fc0a6 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Wed, 21 Jun 2023 02:06:39 +0200 Subject: [PATCH] Formatting --- includes/functions/hooks/_mobile_menu_hooks.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/functions/hooks/_mobile_menu_hooks.php b/includes/functions/hooks/_mobile_menu_hooks.php index 7e812da6..4ed048e6 100644 --- a/includes/functions/hooks/_mobile_menu_hooks.php +++ b/includes/functions/hooks/_mobile_menu_hooks.php @@ -451,7 +451,8 @@ if ( ! function_exists( 'fictioneer_mobile_user_menu' ) ) { if ( $post_type === 'fcn_chapter' && - ! is_search() && comments_open() && + ! is_search() && + comments_open() && ! fictioneer_is_commenting_disabled() && ! post_password_required() ) {