diff --git a/ghost/admin/app/controllers/whatsnew.js b/ghost/admin/app/controllers/whatsnew.js index 120e4aaad0..087c904533 100644 --- a/ghost/admin/app/controllers/whatsnew.js +++ b/ghost/admin/app/controllers/whatsnew.js @@ -13,16 +13,21 @@ export default class WhatsNewController extends Controller { return date.getFullYear(); } - get showDatabaseWarning() { - const isProduction = !!this.config.get('environment').match?.(/production/i); + get showSystemInfo() { const isPro = !!this.config.get('hostSettings')?.siteId; - const database = this.config.get('database'); - // Don't show any warnings for Pro + // Don't show any system info for Pro if (isPro) { return false; } + return true; + } + + get showDatabaseWarning() { + const isProduction = !!this.config.get('environment').match?.(/production/i); + const database = this.config.get('database'); + // Show a warning if we're in production and not using MySQL 8 if (isProduction && database !== 'mysql8') { return true; diff --git a/ghost/admin/app/templates/whatsnew.hbs b/ghost/admin/app/templates/whatsnew.hbs index 8df206f751..83c611c3c8 100644 --- a/ghost/admin/app/templates/whatsnew.hbs +++ b/ghost/admin/app/templates/whatsnew.hbs @@ -51,15 +51,17 @@
Warning: MySQL 8 will be the required database in the next major release of Ghost. Make sure your database is up to date to ensure forwards compatibility.