Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 28b2c82

Browse files
author
Jonny Bull
committed
Bleh
1 parent c41efdc commit 28b2c82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flagpole.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ function flagpole_admin_imports( $hook ) {
101101
require plugin_dir_path( __FILE__ ) . 'includes/api/api.shortcode.php';
102102

103103
if ( class_exists( 'ACF' ) ) {
104-
require_once( plugin_dir_path( __FILE__ ) . 'includes/acf/class-acf-filter.php' );
104+
$acf_path = plugin_dir_path( __FILE__ ) . 'includes/acf/class-acf-filter.php';
105+
include_once $acf_path;
105106
}
106107

107108
/**

0 commit comments

Comments
 (0)