Skip to content

Commit

Permalink
[Backport v11-branch] Use ElasticPress package and update to v4.2.2.
Browse files Browse the repository at this point in the history
Merge pull request #420 from humanmade/backport-419-to-v11-branch
  • Loading branch information
Robin Devitt authored Jul 15, 2022
2 parents 2c267e7 + c5ef496 commit fb5fd94
Show file tree
Hide file tree
Showing 227 changed files with 3 additions and 43,828 deletions.
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

0 comments on commit fb5fd94

Please sign in to comment.