Skip to content

YAML output for "0" #6094

@szepeviktor

Description

@szepeviktor

Bug Report

Describe the current, buggy behavior

When an option is "0" YAML format output is empty.
JSON output is "0"

Describe how other contributors can replicate this bug

$ wp option get blog_public --format=yaml
---

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions