-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This just adds the foundation for the blocks, the actual content will be added in future commits to `wporg-mu-plugins`.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,8 @@ | |
"FS_METHOD": "direct", | ||
"WP_ENVIRONMENT_TYPE": "local", | ||
"JETPACK_DEV_DEBUG": true, | ||
"WPORG_SANDBOXED": true | ||
"WPORG_SANDBOXED": true, | ||
"WPORG_GIT_MUPLUGINS_DIR": "/var/www/html/vendor/wporg/wporg-mu-plugins/mu-plugins" | ||
}, | ||
"core": "WordPress/WordPress#5.8", | ||
"plugins": [ | ||
|
@@ -20,6 +21,8 @@ | |
"./source/wp-content/themes/wporg-news-2021" | ||
], | ||
"mappings": { | ||
"env": "./env" | ||
"env": "./env", | ||
"wp-content/mu-plugins/0-sandbox.php": "./env/0-sandbox.php", | ||
"vendor/wporg": "./vendor/wporg" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
coreymckrill
Contributor
|
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,10 @@ | |
{ | ||
"type": "vcs", | ||
"url": "[email protected]:WordPress/wporg-repo-tools.git" | ||
}, | ||
{ | ||
"type": "vcs", | ||
"url": "[email protected]:WordPress/wporg-mu-plugins.git" | ||
} | ||
], | ||
"require": {}, | ||
|
@@ -37,6 +41,7 @@ | |
"wpackagist-plugin/syntaxhighlighter": "*", | ||
"wpackagist-plugin/wordpress-importer": "*", | ||
"wporg/wporg-repo-tools": "dev-trunk", | ||
"wordpress/wporg-mu-plugins": "dev-trunk", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", | ||
"wp-coding-standards/wpcs": "2.*", | ||
"phpcompatibility/phpcompatibility-wp": "*", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
/* | ||
* These are stubs for closed source code, or things that only apply to local environments. | ||
*/ | ||
|
||
namespace WordPress_org\News_2021\Stubs; | ||
|
||
defined( 'WPINC' ) || die(); | ||
|
||
require_once WPORG_GIT_MUPLUGINS_DIR . '/blocks/global-header-footer/blocks.php'; |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
<!-- wp:group --> | ||
<div class="wp-block-group"> | ||
<!-- wp:paragraph {"align":"center","fontSize":"tiny"} --> | ||
<p class="has-text-align-center has-tiny-font-size">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:wporg/global-footer /--> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"40px"}}},"className":"site-header"} --> | ||
<div class="wp-block-group alignfull site-header" style="padding-bottom:40px"> | ||
<!-- wp:site-title /--> | ||
<!-- wp:navigation {"isResponsive":true,"__unstableLocation":"primary"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:wporg/global-header /--> |
This file was deleted.
This file was deleted.
This file was deleted.
@iandunn were the
env
andvendor/wporg
directories added for something specific, or was it just pre-emptive? I'm not seeing anything they're currently being used for...