Skip to content

Commit 91ae8f1

Browse files
committed
Fix wordpress plugin updater typo bug
1 parent dad7083 commit 91ae8f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plogical/applicationInstaller.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@ def UpdateWPPlugin(self):
20772077
path = self.data['path']
20782078

20792079
if self.data['plugin'] == 'all':
2080-
command = 'sudo -u %s %s -d error_reporting=0 /usr/bin/wp theme update --all --skip-plugins --skip-themes --path=%s' % (
2080+
command = 'sudo -u %s %s -d error_reporting=0 /usr/bin/wp plugin update --all --skip-plugins --skip-themes --path=%s' % (
20812081
Vhuser, FinalPHPPath, path)
20822082
stdoutput = ProcessUtilities.outputExecutioner(command)
20832083

@@ -2095,7 +2095,7 @@ def UpdateWPPlugin(self):
20952095

20962096

20972097
else:
2098-
command = 'sudo -u %s %s -d error_reporting=0 /usr/bin/wp theme update %s --skip-plugins --skip-themes --path=%s' % (
2098+
command = 'sudo -u %s %s -d error_reporting=0 /usr/bin/wp plugin update %s --skip-plugins --skip-themes --path=%s' % (
20992099
Vhuser, FinalPHPPath, self.data['plugin'], path)
21002100
stdoutput = ProcessUtilities.outputExecutioner(command)
21012101

0 commit comments

Comments
 (0)