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

Merge pull request #107 from diggy/prevent-notice-wp-pll-term-list

prevent notice in 'wp pll term list'
parents 88e71747 751b6668
......@@ -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