HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/local/wp/vendor/wp-cli/core-command/features/core-version.feature
Feature: Find version for WordPress install

  Scenario: Verify core version
    Given a WP install
    And I run `wp core download --version=4.4.2 --force`

    When I run `wp core version`
    Then STDOUT should be:
      """
      4.4.2
      """

    When I run `wp core version --extra`
    Then STDOUT should be:
      """
      WordPress version: 4.4.2
      Database revision: 35700
      TinyMCE version:   4.208 (4208-20151113)
      Package language:  en_US
      """

  Scenario: Installing WordPress for a non-default locale and verify core extended version information.
    Given an empty directory
    And an empty cache

    When I run `wp core download --version=4.4.2 --locale=de_DE`
    Then STDOUT should contain:
      """
      Success: WordPress downloaded.
      """

    When I run `wp core version --extra`
    Then STDOUT should be:
      """
      WordPress version: 4.4.2
      Database revision: 35700
      TinyMCE version:   4.208 (4208-20151113)
      Package language:  de_DE
      """