We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would allow us to swap string similarity algorithm. The hook can be placed early in the closes_original()
closes_original()
https://github.com/GlotPress/GlotPress-WP/blob/6d86cc2c37515a482633220b1501bd588fefd43c/gp-includes/things/original.php#L397-L401
with something like:
$pre = apply_filters( 'pre_gp_original_closest_original', false, $input, $other_strings ); if ( false !== $pre ) { return $pre; }
The text was updated successfully, but these errors were encountered:
Add short-circuit hook in GP_Original::closest_original.
4ff1877
Fixes GlotPress#1204.
Successfully merging a pull request may close this issue.
This would allow us to swap string similarity algorithm. The hook can be placed early in the
closes_original()
https://github.com/GlotPress/GlotPress-WP/blob/6d86cc2c37515a482633220b1501bd588fefd43c/gp-includes/things/original.php#L397-L401
with something like:
The text was updated successfully, but these errors were encountered: