You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different commands use a different name for the plain text output format of the --format parameter. Some call it plaintext and some call it var_export.
Correct me if I'm wrong, but it appears that these are the same format with two different names.
Activity
schlessera commentedon Apr 19, 2018
Yes, they are the same thing.
To fix this in a BC way, we could just accept both whenever that particular format is used.
However, I think that the
plaintextone is only used when a string is returned, so it might make more sense to users in that case.Fix wp-cli#4774: Standardize plaintext format name across CLI commands
Fix wp-cli#4774: Standardize plaintext format name across CLI commands
Add single-value formatter system for WP_CLI::print_value()
swissspidy commentedon Sep 15, 2026
I think this is completed now.