OXIESEC PANEL
- Current Dir:
/
/
opt
/
.wp-cli
/
packages
/
vendor
/
wp-cli
/
extension-command
/
features
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📄
extension-install.feature
614 bytes
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-activate.feature
4.56 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-auto-updates-disable.feature
2.92 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-auto-updates-enable.feature
2.86 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-auto-updates-status.feature
4.05 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-deactivate.feature
3.21 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-delete.feature
2.2 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-get.feature
2.03 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-install-github-latest.feature
627 bytes
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-install.feature
8.85 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-list-recently-active.feature
4.13 KB
05/14/2024 01:45:25 PM
rw-r--r--
📄
plugin-list-wporg-status.feature
1.75 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-search.feature
518 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
plugin-status.feature
401 bytes
03/20/2024 11:17:26 AM
rw-r--r--
📄
plugin-toggle.feature
1.14 KB
02/24/2025 12:05:14 PM
rw-r--r--
📄
plugin-uninstall.feature
6.03 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin-update.feature
7.69 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
plugin.feature
28.4 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
theme-auto-update-status.feature
4.02 KB
03/20/2024 11:17:26 AM
rw-r--r--
📄
theme-auto-updates-disable.feature
2.82 KB
03/20/2024 11:17:26 AM
rw-r--r--
📄
theme-auto-updates-enable.feature
2.8 KB
03/20/2024 11:17:26 AM
rw-r--r--
📄
theme-delete.feature
3.03 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
theme-install.feature
3.89 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
theme-mod-list.feature
1.07 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
theme-mod.feature
1.91 KB
03/20/2024 11:17:26 AM
rw-r--r--
📄
theme-update.feature
4.35 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
theme.feature
21.32 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
upgradables.feature
7.69 KB
09/06/2025 12:29:47 PM
rw-r--r--
Editing: theme-install.feature
Close
Feature: Install WordPress themes Background: Given a WP install And I run `wp theme delete --all --force` Scenario: Return code is 1 when one or more theme installations fail When I try `wp theme install twentytwelve twentytwelve-not-a-theme` Then STDERR should contain: """ Warning: """ And STDERR should contain: """ twentytwelve-not-a-theme """ And STDERR should contain: """ Error: Only installed 1 of 2 themes. """ And STDOUT should contain: """ Installing Twenty Twelve """ And STDOUT should contain: """ Theme installed successfully. """ And the return code should be 1 When I try `wp theme install twentytwelve` Then STDOUT should be: """ Success: Theme already installed. """ And STDERR should be: """ Warning: twentytwelve: Theme already installed. """ And the return code should be 0 When I try `wp theme install twentytwelve-not-a-theme` Then STDERR should contain: """ Warning: """ And STDERR should contain: """ twentytwelve-not-a-theme """ And STDERR should contain: """ Error: No themes installed. """ And STDOUT should be empty And the return code should be 1 Scenario: Ensure automatic parent theme installation uses http cacher Given a WP install And an empty cache When I run `wp theme install moina` Then STDOUT should contain: """ Success: Installed 1 of 1 themes. """ And STDOUT should not contain: """ Using cached file """ When I run `wp theme uninstall moina` Then STDOUT should contain: """ Success: Deleted 1 of 1 themes. """ When I run `wp theme install moina-blog` Then STDOUT should contain: """ Success: Installed 1 of 1 themes. """ And STDOUT should contain: """ This theme requires a parent theme. """ And STDOUT should contain: """ Using cached file """ Scenario: Verify installed theme activation When I run `wp theme install twentytwelve` Then STDOUT should not be empty When I try `wp theme install twentytwelve --activate` Then STDERR should contain: """ Warning: twentytwelve: Theme already installed. """ And STDOUT should contain: """ Activating 'twentytwelve'... Success: Switched to 'Twenty Twelve' theme. Success: Theme already installed. """ Scenario: Installation of multiple themes with activate When I try `wp theme install twentytwelve twentyeleven --activate` Then STDERR should contain: """ Warning: Only this single theme will be activated: twentyeleven """ When I run `wp theme list --field=name` Then STDOUT should contain: """ twentyeleven twentytwelve """ When I run `wp theme list --field=name --status=active` Then STDOUT should contain: """ twentyeleven """ @require-php-7 Scenario: Can't install theme that requires a newer version of WordPress Given a WP install When I run `wp core download --version=6.4 --force` And I run `rm -r wp-content/themes/*` And I try `wp theme install twentytwentyfive` Then STDERR should contain: """ Warning: twentytwentyfive: This theme does not work with your version of WordPress. """ And STDERR should contain: """ Error: No themes installed. """ @less-than-php-7.4 @require-wp-5.6 Scenario: Can't install theme that requires a newer version of PHP Given a WP install And I try `wp theme install oceanwp` Then STDERR should contain: """ Warning: oceanwp: This theme does not work with your version of PHP. """ And STDERR should contain: """ Error: No themes installed. """