Commit dc2c6b39 authored by Peter J. Herrel's avatar Peter J. Herrel Committed by GitHub
Browse files

Merge pull request #90 from diggy/fix-undefined-index--hook_suffix-in-`wp-pll-string-list`

fix undefined index: hook_suffix in `wp pll string list`
parents 68124b93 138424b8
......@@ -62,6 +62,8 @@ class StringCommand extends BaseCommand {
add_filter( 'pll_strings_per_page', function( $per_page ) { return PHP_INT_MAX; } );
$GLOBALS['hook_suffix'] = null;
$string_table = new \PLL_Table_String( $this->pll->model->get_languages_list() );
$string_table->prepare_items();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment