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/scaffold-command/features/scaffold-taxonomy.feature
Feature: Scaffold a custom taxonomy

  Scenario: Scaffold a taxonomy that uses Doctrine pluralization
    Given a WP install

    When I run `wp scaffold taxonomy fungus --raw`
    Then STDOUT should contain:
      """
      __( 'Popular Fungi'
      """

  Scenario: Extended scaffolded taxonomy includes term_updated_messages
    Given a WP install

    When I run `wp scaffold taxonomy fungus`
    Then STDOUT should contain:
      """
      add_filter( 'term_updated_messages', 'fungus_updated_messages' );
      """
    And STDOUT should contain:
      """
      $messages['fungus'] = array(
      """
    And STDOUT should contain:
      """
      1 => __( 'Fungus added.', 'YOUR-TEXTDOMAIN' ),
      """
    And STDOUT should contain:
      """
      6 => __( 'Fungi deleted.', 'YOUR-TEXTDOMAIN' ),
      """