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

Other plugins fire when projects, posts, etc are saved #10

Open
patrickmj opened this issue Aug 12, 2011 · 3 comments
Open

Other plugins fire when projects, posts, etc are saved #10

patrickmj opened this issue Aug 12, 2011 · 3 comments

Comments

@patrickmj
Copy link
Contributor

Imported from Trac ticket #12 reported by boonebgorges on 2010-08-04:

Lots of plugins hook to save_post and publish_post (eg auto-tweeters) and should not be run when Anthologize parts/items/projects are created and published.

figure out a way to index the functions being hooked, and unset them for our post types.

@patrickmj
Copy link
Contributor Author

Comment by boonebgorges on 2010-08-04:

A couple thoughts from discussions on irc:

  • use the $wp_filter global to get a list of all the plugins
  • use the custom hooks (publish_projects, etc) so you don't have to bother checking for post types
  • maybe an admin screen that (a) detects which plugins will fire, and then (b) gives toggles

@patrickmj
Copy link
Contributor Author

Comment by boonebgorges on 2010-08-07:

This might be too big a job for 0.4-alpha. I want to think strategy a little bit more before doing anything too heavyhanded regarding other plugins on an install. It's much easier and safer to add language to the documentation warning about auto-tweeting plugins, etc.

Punting to 0.5

@patrickmj
Copy link
Contributor Author

Comment by boonebgorges on 2010-08-10:

This has been at least partially addressed in #28 - since content is no longer published automatically, there won't be conflict with publish_post stuff.

@ghost ghost assigned boonebgorges Aug 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants