Skip to content

Commit

Permalink
Merge pull request #1232 from greenpeace/planet-5055
Browse files Browse the repository at this point in the history
PLANET-5055 Pinned the ElasticPress Search algorithm to v3.4
  • Loading branch information
sagarsdeshmukh authored Nov 24, 2020
2 parents 60522c4 + 1abbd2d commit 3853869
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MasterSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ function ( $block_content, $block ) {
add_action( 'admin_notices', [ $this, 'show_dashboard_notice' ] );
add_action( 'wp_ajax_dismiss_dashboard_notice', [ $this, 'dismiss_dashboard_notice' ] );
add_filter( 'timber/twig', [ $this, 'p4_optimize_img_url' ] );

// Pin the ElasticPress to v3.4 search algorithm.
simple_value_filter( 'ep_search_algorithm_version', '3.4' );
}

/**
Expand Down

0 comments on commit 3853869

Please sign in to comment.