Merge pull request #19051 from aaronkirkham/master

Add missing direct script access checks
This commit is contained in:
Claudio Sanches 2018-02-20 16:44:36 -03:00 committed by GitHub
commit 86c14f21bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -15,5 +15,9 @@
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
</ul>

View File

@ -15,5 +15,9 @@
* @package WooCommerce/Templates
* @version 3.3.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<ul class="products columns-<?php echo esc_attr( wc_get_loop_prop( 'columns' ) ); ?>">