to_array();
$full_path = '';
if ( isset( $detail['full_path'] ) && is_string( $detail['full_path'] ) && '' !== trim( $detail['full_path'] ) ) {
$full_path = esc_html( $detail['full_path'] );
if ( 0 === strpos( $full_path, $abs_path ) ) {
$full_path = $abs_path . '' . substr( $full_path, strlen( $abs_path ) ) . '';
}
}
$item_type = isset( $item->type ) ? $item->type : ( $detail['type'] ?? '' );
$file_name = $detail['file_name'] ?? '';
$short_desc = $detail['short_desc'] ?? '';
if ( in_array( $item_type, $abandoned_types, true ) ) {
$abandoned_plugins_html .= '
|
' . esc_html( $file_name ) . '
|
' . esc_html( $short_desc ) . '
|
';
} else {
$other_issues_html .= '
|
' . esc_html( $file_name ) . '
' . wp_kses( $full_path, array( 'span' => array() ) ) . '
|
' . esc_html( $short_desc ) . '
|
';
}
}
if ( '' !== $other_issues_html ) : ?>
|
|
|
array(
'class' => array(),
'style' => array(),
),
'td' => array(
'class' => array(),
'style' => array(),
),
'span' => array(
'class' => array(),
'style' => array(),
),
)
);
?>
|
|
|
array(
'class' => array(),
'style' => array(),
),
'td' => array(
'class' => array(),
'style' => array(),
),
'span' => array(
'class' => array(),
'style' => array(),
),
)
);
?>