From f12ac4cc3a4214617fca85ee489d2eea0f9d002c Mon Sep 17 00:00:00 2001 From: Fraenkiman Date: Mon, 27 Mar 2023 01:41:31 +0200 Subject: [PATCH] Update step2.lib.php Adds the welcome entry to the Author FlatPress. Also for the static pages menu and about. See https://github.com/flatpressblog/flatpress/issues/99#issuecomment-1159540059 --- setup/lib/step2.lib.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/setup/lib/step2.lib.php b/setup/lib/step2.lib.php index 03acbc4..79689d6 100644 --- a/setup/lib/step2.lib.php +++ b/setup/lib/step2.lib.php @@ -12,7 +12,8 @@ function check_step() { 'subject' => $vl ['entry'] ['subject'], 'content' => $vl ['entry'] ['content'], 'date' => time(), - 'version' => system_ver() + 'version' => system_ver(), + 'author' => 'FlatPress' )); if (!static_exists('menu')) { @@ -20,7 +21,8 @@ function check_step() { 'subject' => $vl ['menu'] ['subject'], 'content' => $vl ['menu'] ['content'], 'date' => time(), - 'version' => system_ver() + 'version' => system_ver(), + 'author' => 'FlatPress' ), 'menu'); } if (!static_exists('about')) { @@ -28,7 +30,8 @@ function check_step() { 'subject' => $vl ['about'] ['subject'], 'content' => $vl ['about'] ['content'], 'date' => time(), - 'version' => system_ver() + 'version' => system_ver(), + 'author' => 'FlatPress' ), 'about'); } }