parent->dev_mode_forced ) { $is_debug = false; $is_localhost = false; $debug_bit = ''; if ( Redux_Helpers::isWpDebug() ) { $is_debug = true; $debug_bit = __( 'WP_DEBUG is enabled', 'virtue' ); } $localhost_bit = ''; if ( Redux_Helpers::isLocalHost() ) { $is_localhost = true; $localhost_bit = __( 'you are working in a localhost environment', 'virtue' ); } $conjunction_bit = ''; if ( $is_localhost && $is_debug ) { $conjunction_bit = ' ' . __( 'and', 'virtue' ) . ' '; } $tip_msg = __( 'This has been automatically enabled because', 'virtue' ) . ' ' . $debug_bit . $conjunction_bit . $localhost_bit . '.'; } else { $tip_msg = __( 'If you are not a developer, your theme/plugin author shipped with developer mode enabled. Contact them directly to fix it.', 'virtue' ); } ?>