define('WP_DEBUG', false); /** * Security hardening */ define('DISALLOW_FILE_EDIT', true); // Disable file editor in admin define('DISALLOW_FILE_MODS', true); // Disable plugin/theme installation/update from admin (enable temporarily only when needed) define('WP_AUTO_UPDATE_CORE', true); // Auto-update WordPress core define('FORCE_SSL_ADMIN', true); // Force SSL for admin define('WP_DEBUG_DISPLAY', false); // Never display errors on screen define('WP_DEBUG_LOG', false); // Keep debug logging off in production /** * Security and performance hardening. */ define('DISALLOW_FILE_EDIT', true); // Disable theme/plugin file editor in admin define('WP_AUTO_UPDATE_CORE', 'minor'); // Auto-update only minor WordPress versions define('WP_DEBUG_DISPLAY', false); // Never display errors to visitors define('FORCE_SSL_ADMIN', true); // Force SSL for admin (already active) /* That's all, stop editing! Happy blogging. */ elseif ( is_array( $meta_box['pages'] ) && count( $meta_box['pages'] ) === 1 )