Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit an event when a post/page already exists, also. #1720

Merged
merged 1 commit into from May 14, 2015

Conversation

punchagan
Copy link
Member

Creation of new_post successfully emits an event, but no event is fired
new_post fails because there is an existing post. This event can be
used by plugins, for e.g. open the post in an editor or prompt to delete
the post, etc.

Creation of new_post successfully emits an event, but no event is fired
new_post fails because there is an existing post.  This event can be
used by plugins, for e.g. open the post in an editor or prompt to delete
the post, etc.
@Kwpolska
Copy link
Member

Nobody will use this anyways, but it shouldn’t hurt. Merging.

Kwpolska added a commit that referenced this pull request May 14, 2015
Emit an event when a post/page already exists, also.
@Kwpolska Kwpolska merged commit 83c8254 into master May 14, 2015
@Kwpolska Kwpolska deleted the existing-post-event branch May 14, 2015 14:23
@Kwpolska Kwpolska added this to the v8.0.0 milestone May 14, 2015
@Kwpolska Kwpolska self-assigned this May 14, 2015
Kwpolska added a commit that referenced this pull request May 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants