File tree 4 files changed +606
-5
lines changed
4 files changed +606
-5
lines changed Original file line number Diff line number Diff line change 1
1
# WordPress variables
2
- WP_VERSION = 6.3.1
2
+ WP_VERSION = 6.3
3
3
4
4
# Setup WordPress variables
5
5
WP_ADMIN_EMAIL =
Original file line number Diff line number Diff line change @@ -101,8 +101,17 @@ containers:
101
101
```shell
102
102
./setup-wordpress.sh
103
103
```
104
- 7. Optionally: manually activate/configure `wordfence` in the GUI for now.
105
- - **TODO:** automate in script
104
+ 7. _Optional (CC staff only):_ import production data
105
+ 1. Ensure you have access to the production server and your local machine
106
+ is properly configured to access it
107
+ 2. Pull production data
108
+ ```shell
109
+ ./staff_migrate.sh pull
110
+ ```
111
+ 3. Import production data
112
+ ```shell
113
+ ./staff_migrate.sh import
114
+ ```
106
115
107
116
108
117
## Path URLs
@@ -156,7 +165,7 @@ See [`config/web-sites-available/000-default.conf`][dev-webconfig].
156
165
157
166
| Name | Version |
158
167
| --------- | ------- |
159
- | WordPress | `6.3.1 ` |
168
+ | WordPress | `6.3` |
160
169
161
170
Also see [`.env.example`](.env.example).
162
171
@@ -192,7 +201,7 @@ Also see [`config/composer/composer.json`](config/composer/composer.json).
192
201
193
202
| Name | Version |
194
203
| ------------------------------------ | -------- |
195
- | [Vocabulary Theme][gh-vocab-theme] | `1.1` |
204
+ | [Vocabulary Theme][gh-vocab-theme] | `1.1` |
196
205
197
206
Also see [`config/composer/composer.json`](config/composer/composer.json).
198
207
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ PLUGINS_DEACTIVATE='
56
56
google-analytics-for-wordpress
57
57
wordfence
58
58
'
59
+ PLUGINS_UNINSTALL='
60
+ hello
61
+ '
59
62
THEMES_ACTIVATE='
60
63
vocabulary-theme
61
64
'
@@ -314,6 +317,24 @@ remove_themes() {
314
317
}
315
318
316
319
320
+ uninstall_plugins () {
321
+ local _bold _plugin _reset
322
+ header ' Uninstall plugins'
323
+ for _plugin in ${PLUGINS_UNINSTALL}
324
+ do
325
+ if wpcli --no-color --quiet plugin is-installed " ${_plugin} " \
326
+ & > /dev/null
327
+ then
328
+ wpcli plugin uninstall " ${_plugin} "
329
+ else
330
+ no_op " ${_plugin} is not installed"
331
+ fi
332
+ done
333
+ echo
334
+ }
335
+
336
+
337
+
317
338
update_options () {
318
339
local _date_format _default_comment_status _noop _permalink_structure \
319
340
_time_format
@@ -389,6 +410,7 @@ composer_install
389
410
install_wordpress
390
411
update_options
391
412
remove_themes
413
+ uninstall_plugins
392
414
deactivate_plugins
393
415
activate_plugins
394
416
list_plugins
You can’t perform that action at this time.
0 commit comments