public function _optimize_jquery_loading() {
		$optimize_loading = apply_filters( 'inc2734_wp_page_speed_optimization_optimize_jquery_loading', false );
		if ( ! $optimize_loading ) {
			return;
		}

		if ( is_admin() || in_array( $GLOBALS['pagenow'], [ 'wp-login.php', 'wp-register.php' ] ) ) {
			return;
		}

		global $wp_scripts;

		$jquery = $wp_scripts->registered['jquery-core'];
		$jquery_ver = $jquery->ver;
		$jquery_src = $jquery->src;

		wp_deregister_script( 'jquery' );
		wp_deregister_script( 'jquery-core' );

		wp_register_script( 'jquery', false, [ 'jquery-core' ], $jquery_ver, true );
		wp_register_script( 'jquery-core', $jquery_src, [], $jquery_ver, true );
	}