Commit 138424b8 authored by Peter J. Herrel's avatar Peter J. Herrel
Browse files

fix undefined index: hook_suffix in `wp pll string list`

parent 68124b93
......@@ -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() );
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