Escape everything that should be escaped. Add nonce checks where needed. Sanitize all inputs. Apply Code style changes across the codebase. Correct many deprecation notices. Optimize load order of many filters.
18 lines
380 B
PHP
18 lines
380 B
PHP
<?php
|
|
/**
|
|
* Grid view.
|
|
*
|
|
* @since 2.0.0
|
|
*/
|
|
?>
|
|
<?php $table->display_tablenav('top'); ?>
|
|
|
|
<div class="wu-mt-4 <?php echo esc_attr(implode(' ', $table->get_table_classes())); ?>">
|
|
|
|
<div id="the-list" class="wu-grid-content wu-grid wu-gap-4 wu-grid-cols-1 md:wu-grid-cols-2 lg:wu-grid-cols-3 xl:wu-grid-cols-4">
|
|
|
|
<?php $table->display_rows_or_placeholder(); ?>
|
|
|
|
</div>
|
|
</div>
|