We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4761da commit 6fcd921Copy full SHA for 6fcd921
setup-wordpress.sh
@@ -127,10 +127,24 @@ utils_info() {
127
echo
128
}
129
130
+wordpress_update_db() {
131
+ header 'Update WordPress database'
132
+ wpcli core update-db
133
+ echo
134
+}
135
+
136
137
+wordpress_db_check() {
138
+ header 'Check WordPress database'
139
+ wpcli db check
140
141
142
143
144
wordpress_status() {
145
header 'Show maintenance mode status to expose any PHP Warnings'
146
wpcli maintenance-mode status
147
148
149
150
@@ -152,4 +166,6 @@ install_wordpress
152
166
activate_plugins
153
167
activate_themes
154
168
enable_permalinks
169
+wordpress_update_db
170
+wordpress_db_check
155
171
wordpress_status
0 commit comments