Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set dropin installer path for dropin packages and install object cache from wpackagist #210

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sql-dump-*.sql

# WordPress content directories usually populated by composer
# If you create custom plugins, force add it to git so that it's tracked
# If you create custom themese, they are automatically tracked in git
# If you create custom themes, they are automatically tracked in git
htdocs/wp-content/plugins/*
!htdocs/wp-content/plugins/.gitkeep
htdocs/wp-content/mu-plugins/*
Expand All @@ -41,6 +41,7 @@ htdocs/wp-content/ngg
htdocs/wp-content/w3tc-config
htdocs/wp-content/wflogs
htdocs/wp-content/wp-rocket-config
htdocs/wp-content/object-cache.php

# WordPress content directories filled with user data
# not to be tracked in git
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"seravo/seravo-plugin": "*",

"wpackagist-plugin/google-site-kit": "*",
"wpackagist-plugin/redis-cache": "*",
"wpackagist-plugin/two-factor": "*",
"wpackagist-plugin/wp-recaptcha-integration": "*",

Expand All @@ -68,6 +69,10 @@
"htdocs/wp-content/themes/{$name}": ["type:wordpress-theme"]
},
"dropin-paths": {
"htdocs/wp-content/": [
"package:wpackagist-plugin/redis-cache:includes/object-cache.php",
"type:wordpress-dropin"
],
"htdocs/wp-content/languages/": ["vendor:koodimonni-language"],
"htdocs/wp-content/languages/plugins/": ["vendor:koodimonni-plugin-language"],
"htdocs/wp-content/languages/themes/": ["vendor:koodimonni-theme-language"],
Expand Down
Loading