From a56cd665b02d0b3484fba23556eb540b87f6239e Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Sun, 8 Feb 2026 17:59:55 -0500 Subject: [PATCH] posts will be published immediately fixed --- src/wp_cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp_cli.py b/src/wp_cli.py index 65f9612..9e9f448 100644 --- a/src/wp_cli.py +++ b/src/wp_cli.py @@ -194,6 +194,7 @@ class WordPressCLI: "post", "update", str(post_id), + "--post_status=publish", f"--post_title={title}", f"--post_content={content}", f"--post_category={','.join(str(cat) for cat in categories)}",