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

Commit

Permalink
Remaining straggler createPost() to startCreatePostFlow()
Browse files Browse the repository at this point in the history
See #284
  • Loading branch information
westonruter committed Sep 20, 2016
1 parent 3384041 commit a947eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/customize-posts-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
onClickAddPostButton: function onClickAddPostButton( event ) {
var panel = this, button = $( event.target );
event.preventDefault();
api.Posts.createPost( {
api.Posts.startCreatePostFlow( {
postType: panel.postType,
initiatingButton: button,
restorePreviousUrl: false
Expand Down

0 comments on commit a947eb0

Please sign in to comment.