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
This commit is contained in:
parent
bd08207b1e
commit
f12ac4cc3a
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user