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
304 B
PHP
18 lines
304 B
PHP
<?php
|
|
/**
|
|
* Description field partial view.
|
|
*
|
|
* @since 2.0.0
|
|
*/
|
|
?>
|
|
|
|
<?php if ($field->desc) : ?>
|
|
|
|
<p class="description wu-text-2xs" id="<?php echo esc_attr($field->id); ?>-desc">
|
|
|
|
<?php echo $field->desc; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
|
|
|
</p>
|
|
|
|
<?php endif; ?>
|