Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit a947eb0

Browse files
committed
Remaining straggler createPost() to startCreatePostFlow()
See #284
1 parent 3384041 commit a947eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/customize-posts-panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
onClickAddPostButton: function onClickAddPostButton( event ) {
146146
var panel = this, button = $( event.target );
147147
event.preventDefault();
148-
api.Posts.createPost( {
148+
api.Posts.startCreatePostFlow( {
149149
postType: panel.postType,
150150
initiatingButton: button,
151151
restorePreviousUrl: false

0 commit comments

Comments
 (0)