- added escape functions, security fix for XSS;

This commit is contained in:
nikitasinelnikov
2019-08-08 00:36:33 +03:00
parent b2e57e8f92
commit 5f66fd5fe3
95 changed files with 2228 additions and 2026 deletions
@@ -1,4 +1,6 @@
<?php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
$meta = get_post_custom( get_the_ID() );
foreach( $meta as $k => $v ) {
if ( strstr( $k, '_um_' ) && !is_array( $v[0] ) ) {