Skip to content

Commit a91338b

Browse files
committed
fix: revert include_once to require_once in load-freemius.php
1 parent a92a295 commit a91338b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

load-freemius.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function tptn_freemius() {
2222
define( 'WP_FS__PRODUCT_16384_MULTISITE', true );
2323
}
2424
// Include Freemius SDK.
25-
include_once __DIR__ . '/vendor/freemius/start.php';
25+
require_once __DIR__ . '/vendor/freemius/start.php';
2626
$tptn_freemius = \fs_dynamic_init(
2727
array(
2828
'id' => '16384',
@@ -64,7 +64,7 @@ function tptn_freemius_get_plugin_icon() {
6464
* Uninstall the plugin.
6565
*/
6666
function tptn_freemius_uninstall() {
67-
include_once __DIR__ . '/uninstaller.php';
67+
require_once __DIR__ . '/uninstaller.php';
6868
}
6969

7070
// Init Freemius.

0 commit comments

Comments
 (0)