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

Notification Rule meta data being saved to all post types #693

Closed
frankiejarrett opened this issue Jan 21, 2015 · 1 comment · Fixed by #694
Closed

Notification Rule meta data being saved to all post types #693

frankiejarrett opened this issue Jan 21, 2015 · 1 comment · Fixed by #694
Labels

Comments

@frankiejarrett
Copy link
Contributor

A user reported in the plugin forum that they were seeing strange post meta appearing on their posts.

triggers: a:0:{}
groups: a:0:{}
alerts: a:0:{}

screen shot 2015-01-21 at 12 28 20 am

I believe this is being caused by the save_post action in WP_Stream_Notifications_Post_Type not properly limiting itself to only adding meta information to Notification Rule posts.

@frankiejarrett
Copy link
Contributor Author

Here is a gist that will remove the unwanted meta from all other post types: https://gist.github.com/fjarrett/be5423e0899895558d75

@frankiejarrett frankiejarrett removed their assignment Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant