diff --git a/build/build.xml b/build/build.xml
index 5f6446b..eb5dd19 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -14,11 +14,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/composer.lock b/composer.lock
index b7a0ab0..4785cfc 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1,10 +1,10 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "b7a1039d5165ccc52cae9b9f3d37a944",
+ "content-hash": "e8fce15735594bde54a65fb1d2415599",
"packages": [
{
"name": "composer/installers",
@@ -143,9 +143,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/cf7-field-validation.zip?timestamp=1523974032",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/cf7-field-validation.zip?timestamp=1523974032"
},
"require": {
"composer/installers": "~1.0"
@@ -163,9 +161,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/contact-form-7.5.0.5.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/contact-form-7.5.0.5.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -183,9 +179,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/enhanced-media-library.2.6.4.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/enhanced-media-library.2.6.4.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -203,9 +197,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/flamingo.1.9.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/flamingo.1.9.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -223,9 +215,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/menu-item-custom-fields.1.0.0.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/menu-item-custom-fields.1.0.0.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -243,9 +233,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/meta-tag-manager.2.1.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/meta-tag-manager.2.1.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -263,9 +251,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/post-smtp.1.9.8.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/post-smtp.1.9.8.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -275,17 +261,15 @@
},
{
"name": "wpackagist-plugin/post-types-order",
- "version": "1.9.5.1",
+ "version": "1.9.5.2",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/post-types-order/",
- "reference": "tags/1.9.5.1"
+ "reference": "tags/1.9.5.2"
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/post-types-order.1.9.5.1.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/post-types-order.1.9.5.2.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -303,9 +287,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/really-simple-captcha.2.0.2.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/really-simple-captcha.2.0.2.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -323,9 +305,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/svg-support.2.3.18.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/svg-support.2.3.18.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -335,17 +315,15 @@
},
{
"name": "wpackagist-plugin/taxonomy-terms-order",
- "version": "1.5.7.2",
+ "version": "1.5.7.3",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/taxonomy-terms-order/",
- "reference": "tags/1.5.7.2"
+ "reference": "tags/1.5.7.3"
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/taxonomy-terms-order.1.5.7.2.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/taxonomy-terms-order.1.5.7.3.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -355,17 +333,15 @@
},
{
"name": "wpackagist-plugin/tinymce-advanced",
- "version": "4.8.2",
+ "version": "5.2.1",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/tinymce-advanced/",
- "reference": "tags/4.8.2"
+ "reference": "tags/5.2.1"
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/tinymce-advanced.4.8.2.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/tinymce-advanced.5.2.1.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -383,9 +359,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/toggle-wpautop.1.2.5.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/toggle-wpautop.1.2.5.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -403,9 +377,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/wordpress-seo.14.6.1.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/wordpress-seo.14.6.1.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -423,9 +395,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/wp-rest-api-v2-menus.0.3.2.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/wp-rest-api-v2-menus.0.3.2.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -443,9 +413,7 @@
},
"dist": {
"type": "zip",
- "url": "https://downloads.wordpress.org/plugin/wps-hide-login.1.5.6.zip",
- "reference": null,
- "shasum": null
+ "url": "https://downloads.wordpress.org/plugin/wps-hide-login.1.5.6.zip"
},
"require": {
"composer/installers": "~1.0"
@@ -461,5 +429,6 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
- "platform-dev": []
+ "platform-dev": [],
+ "plugin-api-version": "1.1.0"
}
diff --git a/environments/staging/domain_db_fix.sql b/environments/staging/domain_db_fix.sql
new file mode 100644
index 0000000..1e844a5
--- /dev/null
+++ b/environments/staging/domain_db_fix.sql
@@ -0,0 +1,14 @@
+######FOR TEST STAGING ENV
+
+update wp_options set option_value = "https://staging-law.carta.live" where option_id = 1 limit 1;
+update wp_options set option_value = "https://staging-law.carta.live" where option_id = 2 limit 1;
+
+update wp_2_options set option_value = "https://staging-live.carta.live" where option_id = 1 limit 1;
+update wp_2_options set option_value = "https://staging-law.carta.live/livecarta" where option_id = 2 limit 1;
+
+update wp_blogs set domain = "staging-law.carta.live" where blog_id = 1 limit 1;
+update wp_blogs set domain = "staging-law.carta.live" where blog_id = 2 limit 1;
+
+update wp_domain_mapping set domain = "staging-live.carta.live" where blog_id = 2 limit 1;
+
+update wp_site set domain = "staging-law.carta.livem" where id =1 limit 1;
diff --git a/environments/staging/wp-config-local.php b/environments/staging/wp-config-local.php
new file mode 100644
index 0000000..496cd0b
--- /dev/null
+++ b/environments/staging/wp-config-local.php
@@ -0,0 +1,18 @@
+