Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是否可以设置 Steps To Reproduce 字段,所以它是必需的?
从记者那里获得足够的信息总是很困难,所以也许强迫他们填写这个字段会对我们——程序员——有点帮助。
我希望仍然能够毫无问题地更新螳螂。
您可以通过更改来实现这一点(在 bug_report.php 中)
$t_bug_data->steps_to_reproduce = gpc_get_string( 'steps_to_reproduce', '' );
到
$t_bug_data->steps_to_reproduce = gpc_get_string( 'steps_to_reproduce' );
但在高级报告中,它没有显示 *(星号)来表示它是强制性的。您必须自己在 PHP 文件中添加 *。