mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added escape functions, security fix for XSS;
This commit is contained in:
@@ -1224,20 +1224,6 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
* @return um\core\Chart
|
||||
*/
|
||||
function chart() {
|
||||
if ( empty( $this->classes['chart'] ) ) {
|
||||
$this->classes['chart'] = new um\core\Chart();
|
||||
}
|
||||
|
||||
return $this->classes['chart'];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user