Files
sportspress/includes/admin/views/html-notice-template-check.php
Brian Miyaji 23ba2446b1 Escape outputs
2021-11-13 20:42:08 +09:00

22 lines
974 B
PHP

<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<div id="message" class="updated sportspress-message wc-connect">
<p><?php esc_attr_e( '<strong>Your theme has bundled outdated copies of SportsPress template files</strong> &#8211; if you encounter functionality issues on the frontend this could the reason. Ensure you update or remove them (in general we recommend only bundling the template files you actually need to customize). See the system report for full details.', 'sportspress' ); ?></p>
<p class="submit"><a class="button-primary" href="
<?php
echo esc_url(
add_query_arg(
array(
'page' => 'sportspress',
'tab' => 'status',
),
admin_url( 'admin.php' )
)
);
?>
"><?php esc_html_e( 'System Status', 'sportspress' ); ?></a> <a class="skip button" href="<?php echo esc_url( add_query_arg( 'hide_template_files_notice', 'true' ) ); ?>"><?php esc_html_e( 'Hide this notice', 'sportspress' ); ?></a></p>
</div>