document_to_private filter doesn't filter #18

Closed
benbalter opened this Issue Jul 3, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Owner

benbalter commented Jul 3, 2012

$post_pre = $post is a reference in PHP5. Need to clone.

http://wordpress.org/support/topic/plugin-wp-document-revisions-not-private-by-default

Contributor

Marv51 commented Jul 3, 2012

$post_pre = clone $post?

Owner

benbalter commented Jul 4, 2012

I suspect that's the fix. Just haven't had a chance to test. If it works, more than glad to accept a pull request :)

Contributor

Marv51 commented Jul 4, 2012

Just send a pull request for that :) Tested it on my install and it works.

benbalter closed this in 4a3621e Jul 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment