Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Danny Froberg
Polylang Cli
Commits
751b6668
Unverified
Commit
751b6668
authored
Aug 24, 2017
by
Peter J. Herrel
Browse files
prevent notice in 'wp pll term list'
parent
88e71747
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Commands/Term.php
View file @
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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment