-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'production' into fix/813
- Loading branch information
Showing
93 changed files
with
3,430 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,13 +43,13 @@ | |
const EVENTS_NETWORK_ID = 2; | ||
const EVENTS_ROOT_BLOG_ID = 47; | ||
|
||
switch ( $_SERVER['HTTP_HOST'] ) { | ||
switch ( strtolower( $_SERVER['HTTP_HOST'] ) ) { | ||
case 'events.wordpress.test': | ||
define( 'SITE_ID_CURRENT_SITE', EVENTS_NETWORK_ID ); | ||
define( 'BLOG_ID_CURRENT_SITE', EVENTS_ROOT_BLOG_ID ); | ||
define( 'DOMAIN_CURRENT_SITE', 'events.wordpress.test' ); | ||
define( 'SUBDOMAIN_INSTALL', false ); | ||
define( 'NOBLOGREDIRECT', 'https://events.wordpress.test' ); | ||
// NOBLOGREDIRECT is intentionally omitted so that the 404 template works. | ||
define( 'CLI_HOSTNAME_OVERRIDE', 'events.wordpress.test' ); | ||
break; | ||
|
||
|
@@ -119,9 +119,18 @@ | |
define( 'EMAIL_CENTRAL_SUPPORT', '[email protected]' ); | ||
|
||
$trusted_deputies = array( | ||
3, // role-tester. | ||
6, // contributorrole. | ||
); | ||
|
||
$wcorg_subroles = array( | ||
// contributorrole. | ||
6 => array( | ||
'wordcamp_wrangler', | ||
'meetup_wrangler', | ||
'mentor_manager', | ||
'report_viewer', | ||
), | ||
); | ||
|
||
/* | ||
* Third party services | ||
|
@@ -168,6 +177,7 @@ | |
define( 'WORDCAMP_PAYMENT_STRIPE_PUBLISHABLE_LIVE', '' ); | ||
define( 'WORDCAMP_PAYMENT_STRIPE_SECRET_LIVE', '' ); | ||
|
||
define( 'WORDCAMP_PROD_GOOGLE_MAPS_API_KEY', '' ); | ||
define( 'WORDCAMP_DEV_GOOGLE_MAPS_API_KEY', '' ); | ||
|
||
define( 'MEETUP_API_BASE_URL', 'https://api.meetup.com/' ); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,20 +14,34 @@ | |
"_comment": "Work around `test:watch` timeout, see https://github.com/spatie/phpunit-watcher/issues/63#issuecomment-545633709", | ||
"process-timeout": 0, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"composer/installers": true | ||
} | ||
}, | ||
"extra": { | ||
"installer-paths": { | ||
"public_html/wp-content/themes/{$name}": ["wporg/wporg-parent-2021"] | ||
} | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "[email protected]:WordPress/wporg-parent-2021.git" | ||
} | ||
], | ||
"require": { | ||
"adhocore/jwt": "^1.0" | ||
"adhocore/jwt": "^1.0", | ||
"wporg/wporg-parent-2021": "dev-build" | ||
}, | ||
"require-dev": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", | ||
"wp-coding-standards/wpcs": "2.*", | ||
"wp-coding-standards/wpcs": "~3.0.0", | ||
"phpcompatibility/phpcompatibility-wp": "*", | ||
"phpunit/phpunit": "^9", | ||
"sirbrillig/phpcs-changed": "2.10.0", | ||
"spatie/phpunit-watcher": "^1.23", | ||
"yoast/phpunit-polyfills": "^1.0" | ||
"yoast/phpunit-polyfills": "^1.0", | ||
"composer/installers": "^2.2" | ||
}, | ||
"scripts": { | ||
"format": "phpcbf -p", | ||
|
Oops, something went wrong.