posts will be published immediately fixed
This commit is contained in:
@@ -194,6 +194,7 @@ class WordPressCLI:
|
|||||||
"post",
|
"post",
|
||||||
"update",
|
"update",
|
||||||
str(post_id),
|
str(post_id),
|
||||||
|
"--post_status=publish",
|
||||||
f"--post_title={title}",
|
f"--post_title={title}",
|
||||||
f"--post_content={content}",
|
f"--post_content={content}",
|
||||||
f"--post_category={','.join(str(cat) for cat in categories)}",
|
f"--post_category={','.join(str(cat) for cat in categories)}",
|
||||||
|
|||||||
Reference in New Issue
Block a user