Skip to content

Commit

Permalink
A fix for RediPress indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Miika Arponen committed Apr 1, 2020
1 parent 263c820 commit dffa02c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.29.1] - 2020-04-01

### Fixed
- A bug where RediPress indexing wouldn't take all search index bound content into account.

## [1.29.0] - 2020-03-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: ACF Codifier
Plugin URI: https://github.com/devgeniem/acf-codifier
Description: A helper class to make defining ACF field groups and fields easier in the code.
Version: 1.29.0
Version: 1.29.1
Author: Miika Arponen / Geniem Oy
Author URI: https://geniem.fi
License: GPL-3.0
Expand Down
4 changes: 2 additions & 2 deletions src/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ public function redipress_get_search_status() : bool {
*
* @return void
*/
public static function use_redipress_include_search_filter() {
public static function redipress_use_include_search_filter() {
add_filter( 'acf/format_value', \Closure::fromCallable(( [ __CLASS__, 'redipress_include_search_filter' ] ) ), 10, 3 );
}

Expand Down Expand Up @@ -1170,7 +1170,7 @@ public function redipress_set_field_type( string $type ) {
* @return void
*/
public static function redipress_get_fields( $item ) {
self::use_redipress_include_search_filter();
self::redipress_use_include_search_filter();

if ( $item instanceof \WP_Post ) {
\get_fields( $item->ID, true );
Expand Down

0 comments on commit dffa02c

Please sign in to comment.