Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentyfourteen.php',
'twentyfifteen' => JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentyfifteen.php',
'twentysixteen' => JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentysixteen.php',
'twentyseventeen' => JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentyseventeen.php',
'twentynineteen' => JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentynineteen.php',
'twentytwenty' => JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentytwenty.php',
'twentytwentyone' => JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentytwentyone.php',
)
);
_jetpack_require_compat_file( get_stylesheet(), $compat_files );
if ( is_child_theme() ) {
_jetpack_require_compat_file( get_template(), $compat_files );
}
}
add_action( 'after_setup_theme', 'jetpack_load_theme_compat', -1 );
/**
* Requires a file once, if the passed key exists in the files array.
*
* @access private
* @param string $key The key to check.
* @param array $files Array of files to check in.
* @return void|WP_Error
*/
function _jetpack_require_compat_file( $key, $files ) {
if ( ! is_string( $key ) ) {
return new WP_Error( 'key_not_string', 'The specified key is not actually a string.', compact( 'key' ) );
}
if ( array_key_exists( $key, $files ) && is_readable( $files[ $key ] ) ) {
require_once $files[ $key ];
}
}