{
  "id": "content-api-edit",
  "plugin": "simple",
  "action": "Change a draft title and body",
  "edit_path": "Native wp_update_post API in WP-CLI, user 1",
  "fixture_result": {
    "id": 10,
    "title": "Delivery policy: updated dispatch window",
    "content": "We dispatch in two working days."
  },
  "events": [
    {
      "id": "9",
      "date": "2026-11-22 06:25:26",
      "logger": "SimplePostLogger",
      "level": "info",
      "message": "Updated {post_type} \"{post_title}\"",
      "occasionsID": "83da5bd7980f71e14cfacc366db59e74",
      "initiator": "wp_cli",
      "native_context": [
        {
          "key": "post_id",
          "value": "10"
        },
        {
          "key": "post_type",
          "value": "post"
        },
        {
          "key": "post_title",
          "value": "Delivery policy: updated dispatch window"
        },
        {
          "key": "post_revision_id",
          "value": "14"
        },
        {
          "key": "post_modified_gmt",
          "value": "2026-11-22 06:25:26"
        },
        {
          "key": "post_prev_post_title",
          "value": "Delivery policy draft"
        },
        {
          "key": "post_new_post_title",
          "value": "Delivery policy: updated dispatch window"
        },
        {
          "key": "post_prev_post_content",
          "value": "We dispatch in three working days."
        },
        {
          "key": "post_new_post_content",
          "value": "We dispatch in two working days."
        },
        {
          "key": "post_content_diff_format",
          "value": "full_content_v1"
        },
        {
          "key": "post_prev_post_date",
          "value": "2026-11-22 06:25:23"
        },
        {
          "key": "post_new_post_date",
          "value": "2026-11-22 06:25:26"
        },
        {
          "key": "post_terms_added",
          "value": "[]"
        },
        {
          "key": "post_terms_removed",
          "value": "[]"
        },
        {
          "key": "_message_key",
          "value": "post_updated"
        },
        {
          "key": "_user_id",
          "value": "1"
        },
        {
          "key": "_user_login",
          "value": "review_admin"
        },
        {
          "key": "_user_email",
          "value": "review-admin@example.invalid"
        },
        {
          "key": "_user_role",
          "value": "administrator"
        },
        {
          "key": "_server_remote_addr",
          "value": "127.0.0.x"
        }
      ]
    }
  ],
  "observed_codes": [
    "SimplePostLogger"
  ]
}
