FIXED: 不建议给has_cap传入一个参数!用户级别已被废弃,请改用能力

add_options_page(‘Delete-Revision’, ‘Delete-Revision’,8, basename(__FILE__), ‘my_options_delete_revision’);

add_options_page(‘Delete-Revision’, ‘Delete-Revision’, ‘manage_options’, basename(__FILE__), ‘my_options_delete_revision’);

注意这个8,修改成‘manage_options’即可