Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/jetpack/modules/google-f...
File: load.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Load the google fonts based on the current WordPress version.
[2] Fix | Delete
*
[3] Fix | Delete
* @package automattic/jetpack
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[7] Fix | Delete
exit( 0 );
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
/**
[11] Fix | Delete
* The modules is loaded during the late_initialization action and it also hooks to the `after_setup_theme`.
[12] Fix | Delete
* See projects/plugins/jetpack/class.jetpack.php.
[13] Fix | Delete
*/
[14] Fix | Delete
add_action(
[15] Fix | Delete
'after_setup_theme',
[16] Fix | Delete
function () {
[17] Fix | Delete
if (
[18] Fix | Delete
/**
[19] Fix | Delete
* Filters whether to skip loading the Jetpack Google Fonts module.
[20] Fix | Delete
*
[21] Fix | Delete
* This filter allows skipping the loading of the Jetpack Google Fonts module
[22] Fix | Delete
* based on specific conditions or requirements. By default, the module will
[23] Fix | Delete
* load normally. If the filter returns true, the module will be skipped.
[24] Fix | Delete
*
[25] Fix | Delete
* @module google-fonts
[26] Fix | Delete
*
[27] Fix | Delete
* @since 13.4
[28] Fix | Delete
*
[29] Fix | Delete
* @param bool $skip Whether to skip loading the Jetpack Google Fonts module. Default false.
[30] Fix | Delete
*/
[31] Fix | Delete
apply_filters( 'jetpack_google_fonts_skip_load', false )
[32] Fix | Delete
) {
[33] Fix | Delete
return;
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
require_once __DIR__ . '/current/load-google-fonts.php';
[37] Fix | Delete
}
[38] Fix | Delete
);
[39] Fix | Delete
[40] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function