WordPress Theme Soft Rejection with CodeStar framework Issue

I got a soft rejection with CodeStar Framework for my ThemeForest WordPress Theme. I needed Your help to fix this. Please, help me. I run ns-theme-check plugin and got same error in some lines.

invxtassy/inc/cs-framework/cs-framework-path.php

409 ERROR Overriding WordPress globals is prohibited
413 ERROR Overriding WordPress globals is prohibited
423 ERROR Overriding WordPress globals is prohibited
431 ERROR Overriding WordPress globals is prohibited
437 ERROR Overriding WordPress globals is prohibited

Review My Code Please: [bold lines are marked as error- 409.413…]

/**
*

Get locate for load textdomain
@SInCE 1.0.0
@Version 1.0.0
*/
if ( ! function_exists( ‘cs_get_locale’ ) ) {
function cs_get_locale() {

global $locale, $wp_local_package;

if ( isset( $locale ) ) {
return apply_filters( ‘locale’, $locale );
}

if ( isset( $wp_local_package ) ) {
$locale = $wp_local_package;
}

if ( defined( ‘WPLANG’ ) ) {
$locale = WPLANG;
}

if ( is_multisite() ) {

if ( defined( ‘WP_INSTALLING’ ) || ( false === $ms_locale = get_option( ‘WPLANG’ ) ) ) {
$ms_locale = get_site_option( ‘WPLANG’ );
}

if ( $ms_locale !== false ) {
$locale = $ms_locale;
}

} else {

$db_locale = get_option( ‘WPLANG’ );

if ( $db_locale !== false ) {
$locale = $db_locale;
}

}

if ( empty( $locale ) ) {
$locale = ‘en_US’;
}

return apply_filters( ‘locale’, $locale );
}
}

try to change the string to e.g $locale_myplugin