Unverified Commit 751b6668 authored by Peter J. Herrel's avatar Peter J. Herrel
Browse files

prevent notice in 'wp pll term list'

parent 88e71747
......@@ -341,6 +341,7 @@ class TermCommand extends BaseCommand {
{
list ( $taxonomy, $language ) = $args;
$this->pll->curlang = $this->pll->model->get_language( $this->pll->options['default_lang'] );
new \PLL_Frontend_Filters( $this->pll );
$this->cli->command(
......
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