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

Use ElasticPress package and update to v4.2.2. #419

Merged
merged 3 commits into from
Jul 15, 2022
Merged
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
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"require": {
"php": ">=7.1",
"10up/elasticpress": "~4.2.2",
"humanmade/debug-bar-elasticpress": "~1.6.3"
},
"autoload" : {
Expand All @@ -23,6 +24,7 @@
"extra": {
"altis": {
"install-overrides": [
"10up/elasticpress",
"humanmade/debug-bar-elasticpress"
]
}
Expand Down
2 changes: 1 addition & 1 deletion inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function load_elasticpress() {
add_filter( 'pre_site_option_ep_last_sync', '__return_false' );
}

require_once dirname( __DIR__ ) . '/lib/elasticpress/elasticpress.php';
require_once Altis\ROOT_DIR . '/vendor/10up/elasticpress/elasticpress.php';

// Now ElasticPress has been included, we can remove some of it's filters.

Expand Down
41 changes: 0 additions & 41 deletions lib/elasticpress/assets/css/autosuggest.css

This file was deleted.

13 changes: 0 additions & 13 deletions lib/elasticpress/assets/css/comments.css

This file was deleted.

Loading