Wp core check-update (WP-CLI)
Naar navigatie springen
Naar zoeken springen
NAME wp core check-update DESCRIPTION Checks for WordPress updates via Version Check API. SYNOPSIS wp core check-update [--minor] [--major] [--field=<field>] [--fields=<fields>] [--format=<format>] Lists the most recent versions when there are updates available, or success message when up to date. OPTIONS [--minor] Compare only the first two parts of the version number. [--major] Compare only the first part of the version number. [--field=<field>] Prints the value of a single field for each update. [--fields=<fields>] Limit the output to specific object fields. Defaults to version,update_type,package_url. [--format=<format>] Render output in a particular format. --- default: table options: - table - csv - count - json - yaml --- EXAMPLES $ wp core check-update +---------+-------------+-------------------------------------------------------------+ | version | update_type | package_url | +---------+-------------+-------------------------------------------------------------+ | 4.5.2 | major | https://downloads.wordpress.org/release/wordpress-4.5.2.zip | +---------+-------------+-------------------------------------------------------------+