删除revisions
中的属性supports
的参数register_post_type()
.
Example
$args = array(
// ...
\'supports\' => array(\'title\',\'editor\',\'thumbnail\',\'comments\',\'revisions\')
);
register_post_type(\'book\',$args);
更改为:
$args = array(
// ...
\'supports\' => array(\'title\',\'editor\',\'thumbnail\',\'comments\')
);
register_post_type(\'book\',$args);