From 1b39994280ba15a2fa8e8d25352eac38b846f521 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Fri, 4 Oct 2019 11:48:00 -0700 Subject: [PATCH] Use `get_includes_path` function to load includes files --- plugins/wporg-5ftf/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/wporg-5ftf/index.php b/plugins/wporg-5ftf/index.php index c234741..bd166ba 100755 --- a/plugins/wporg-5ftf/index.php +++ b/plugins/wporg-5ftf/index.php @@ -23,10 +23,10 @@ add_action( 'plugins_loaded', __NAMESPACE__ . '\load' ); * */ function load() { - require_once PATH . 'includes/pledge.php'; - require_once PATH . 'includes/pledge-meta.php'; - require_once PATH . 'includes/pledge-form.php'; - require_once PATH . 'includes/shortcodes.php'; + require_once get_includes_path() . 'pledge.php'; + require_once get_includes_path() . 'pledge-meta.php'; + require_once get_includes_path() . 'pledge-form.php'; + require_once get_includes_path() . 'shortcodes.php'; } /**