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: _posts/2013-03-16-editing-posts.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ A few years ago, I came across a very interesting project by Joseph Scott, calle
7
7
8
8
With [WP-CLI](/) 0.9.0-beta, you can do the same thing:
9
9
10
-
```bash
10
+
~~~bash
11
11
wp post edit 123
12
-
```
12
+
~~~
13
13
14
14
Once you run that command, your `$EDITOR` will open up, pre-filled with the content of the post with ID 123. After you've made your changes and quit the editor, WP-CLI will update the post in the database.
0 commit comments