wp_revisions_enabled ( $post )
决定是否对一个给定的文章启用修订功能。
function wp_revisions_enabled( $post ) { return wp_revisions_to_keep( $post ) !== 0; }