plugins/db/admin_modules/yf_db_revisions.class.php
Method _show_filter
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function _show_filter()
{
$filters = [
'show' => function ($filter_name, $replace) {
$fields = ['id', 'date', 'query_method', 'query_table', 'ip', 'user_id'];
Method details
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function details()
{
if (empty($_GET['id'])) {
return _e('Empty revision id');
}