Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
wp /
vendor /
wp-cli /
core-command /
features /
[ HOME SHELL ]
Name
Size
Permission
Action
core-check-update.feature
2.23
KB
-rw-r--r--
core-download.feature
15.02
KB
-rw-r--r--
core-install.feature
9.79
KB
-rw-r--r--
core-update-db.feature
5.57
KB
-rw-r--r--
core-update.feature
10.4
KB
-rw-r--r--
core-version.feature
1020
B
-rw-r--r--
core.feature
11.59
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : core-check-update.feature
Feature: Check for more recent versions # This test downgrades to an older WordPress version, but the SQLite plugin requires 6.0+ @require-mysql Scenario: Check for update via Version Check API Given a WP install And I try `wp theme install twentytwenty --activate` When I run `wp core download --version=5.8 --force` Then STDOUT should not be empty When I run `wp core check-update --format=csv` Then STDOUT should match #{WP_VERSION-latest},major,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-latest}.zip# And STDOUT should match #{WP_VERSION-5.8-latest},minor,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-5.8-latest}-partial-0.zip# When I run `wp core check-update --format=count` Then STDOUT should be: """ 2 """ When I run `wp core check-update --major --format=csv` Then STDOUT should match #{WP_VERSION-latest},major,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-latest}.zip# When I run `wp core check-update --major --format=count` Then STDOUT should be: """ 1 """ When I run `wp core check-update --minor --format=csv` Then STDOUT should match #{WP_VERSION-5.8-latest},minor,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-5.8-latest}-partial-0.zip# When I run `wp core check-update --minor --format=count` Then STDOUT should be: """ 1 """ Scenario: Check output of check update in different formats (no updates available) Given a WP install And a setup.php file: """ <?php global $wp_version; $obj = new stdClass; $obj->updates = []; $obj->last_checked = strtotime( '1 January 2099' ); $obj->version_checked = $wp_version; $obj->translations = []; set_site_transient( 'update_core', $obj ); """ And I run `wp eval-file setup.php` When I run `wp core check-update` Then STDOUT should be: """ Success: WordPress is at the latest version. """ When I run `wp core check-update --format=json` Then STDOUT should be: """ [] """ When I run `wp core check-update --format=yaml` Then STDOUT should be: """ --- """
Close