Konstantin Obenland a4e803fbd4 Use get_default_comment_status() globally.
Also makes the filter name static and passes the post type for context.

Props valendesigns.
Fixes #31168.


Built from https://develop.svn.wordpress.org/trunk@33054


git-svn-id: http://core.svn.wordpress.org/trunk@33025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-02 22:32:25 +00:00
..
2015-06-27 15:41:25 +00:00
2015-06-01 17:38:29 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-04-15 00:38:27 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00
2015-07-01 14:48:24 +00:00
2015-06-27 15:41:25 +00:00
2015-06-27 15:41:25 +00:00