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
da63dec8
Commit
da63dec8
authored
Aug 24, 2017
by
Peter J. Herrel
Committed by
GitHub
Aug 24, 2017
Browse files
Merge pull request #107 from diggy/prevent-notice-wp-pll-term-list
prevent notice in 'wp pll term list'
parents
88e71747
751b6668
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Commands/Term.php
View file @
da63dec8
...
...
@@ -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