Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 138077e

Browse files
committed
Changed constant name from WPLIB_BOX_WP_CONTENT_DIR to WPLIB_BOX_CONTENT_DIR.
1 parent 8b85ced commit 138077e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

guest/cli/commands/disable-object-caching

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
exit_if_wp_not_installed "disable object caching."
77

8-
object_cache_file_root="${WPLIB_BOX_WP_CONTENT_DIR}/object-cache"
8+
object_cache_file_root="${WPLIB_BOX_CONTENT_DIR}/object-cache"
99
object_cache_file="${object_cache_file_root}.php"
1010
disabled_object_cache_file="${object_cache_file_root}.disabled.php"
1111

guest/cli/commands/enable-object-caching

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
exit_if_wp_not_installed "enable object caching."
77

8-
object_cache_file_root="${WPLIB_BOX_WP_CONTENT_DIR}/object-cache"
8+
object_cache_file_root="${WPLIB_BOX_CONTENT_DIR}/object-cache"
99
object_cache_file="${object_cache_file_root}.php"
1010
disabled_object_cache_file="${object_cache_file_root}.disabled.php"
1111

guest/cli/commands/set-directory-layout-skeleton

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
if [ "${WPLIB_BOX_WP_CONTENT_DIR}" == "/var/www/content" ]; then
3+
if [ "${WPLIB_BOX_CONTENT_DIR}" == "/var/www/content" ]; then
44

55
echo_if_not_quiet "$*" "=WordPress directory structure is already in 'Skeleton' layout."
66

guest/cli/commands/set-directory-layout-standard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
if [ "${WPLIB_BOX_WP_CONTENT_DIR}" == "/var/www/wp-content" ]; then
3+
if [ "${WPLIB_BOX_CONTENT_DIR}" == "/var/www/wp-content" ]; then
44

55
echo_if_not_quiet "$*" "=WordPress directory structure is already in 'Standard' layout."
66

guest/cli/includes/constants

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export WPLIB_BOX_COMMANDS_DIR="/vagrant/scripts/guest/cli/commands"
2020
export WPLIB_BOX_INCLUDES_DIR="/vagrant/scripts/guest/cli/includes"
2121
export WPLIB_BOX_FLAG_FILE="WPLIB_BOX_GIT_REPO"
2222

23-
export WPLIB_BOX_WP_CONTENT_DIR=$(find_wp_content_dir)
23+
export WPLIB_BOX_CONTENT_DIR=$(find_wp_content_dir)
2424
export WPLIB_BOX_PLUGINS_DIR=$(find_wp_plugins_dir)
2525
export WPLIB_BOX_MU_PLUGINS_DIR=$(find_wp_mu_plugins_dir)
2626

guest/cli/includes/functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function is_quiet() {
102102
}
103103

104104
function is_wp_installed() {
105-
if [ "" == "${WPLIB_BOX_WP_CONTENT_DIR}" ]; then
105+
if [ "" == "${WPLIB_BOX_CONTENT_DIR}" ]; then
106106
echo "true"
107107
return
108108
fi

0 commit comments

Comments
 (0)