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
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2781,7 +2781,7 @@ wp post create [--post_author=<post_author>] [--post_date=<post_date>] [--post_d
2781
2781
[--tax_input=<tax_input>]
2782
2782
Array of taxonomy terms keyed by their taxonomy name. Default empty.
2783
2783
2784
-
Note: In WordPress core, this normally requires a user context to satisfy capability checks. WP-CLI bypasses this for convenience. See https://core.trac.wordpress.org/ticket/19373
2784
+
Note: In WordPress core, this normally requires a user context to satisfy capability checks. WP-CLI bypasses this for convenience. See https://core.trac.wordpress.org/ticket/19373
2785
2785
2786
2786
[--meta_input=<meta_input>]
2787
2787
Array in JSON format of post meta values keyed by their post meta key. Default empty.
@@ -2790,22 +2790,21 @@ wp post create [--post_author=<post_author>] [--post_date=<post_date>] [--post_d
2790
2790
Read post content from <file>. If this value is present, the
2791
2791
`--post_content` argument will be ignored.
2792
2792
2793
-
Passing `-` as the filename will cause post content to
2794
-
be read from STDIN.
2793
+
Passing `-` as the filename will cause post content to
2794
+
be read from STDIN.
2795
2795
2796
2796
[--<field>=<value>]
2797
2797
Associative args for the new post. See wp_insert_post().
2798
2798
2799
2799
[--edit]
2800
2800
Immediately open system's editor to write or edit post content.
2801
2801
2802
-
If content is read from a file, from STDIN, or from the `--post_content`
2803
-
argument, that text will be loaded into the editor.
2802
+
If content is read from a file, from STDIN, or from the `--post_content`
2803
+
argument, that text will be loaded into the editor.
Array of taxonomy terms keyed by their taxonomy name. Default empty.
3841
3840
3842
-
Note: In WordPress core, this normally requires a user context to satisfy capability checks. WP-CLI bypasses this for convenience. See https://core.trac.wordpress.org/ticket/19373
3841
+
Note: In WordPress core, this normally requires a user context to satisfy capability checks. WP-CLI bypasses this for convenience. See https://core.trac.wordpress.org/ticket/19373
3843
3842
3844
3843
[--meta_input=<meta_input>]
3845
3844
Array in JSON format of post meta values keyed by their post meta key. Default empty.
Read post content from <file>. If this value is present, the
3849
3848
`--post_content` argument will be ignored.
3850
3849
3851
-
Passing `-` as the filename will cause post content to
3852
-
be read from STDIN.
3850
+
Passing `-` as the filename will cause post content to
3851
+
be read from STDIN.
3853
3852
3854
3853
--<field>=<value>
3855
3854
One or more fields to update. See wp_insert_post().
@@ -8967,6 +8966,10 @@ Want to contribute a new feature? Please first [open a new issue](https://github
8967
8966
8968
8967
Once you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See "[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)" for details specific to working on this package locally.
8969
8968
8969
+
### License
8970
+
8971
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
8972
+
8970
8973
## Support
8971
8974
8972
8975
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
0 commit comments