mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-20 10:03:43 +03:00
Use get_includes_path
function to load includes files
This commit is contained in:
parent
9199e44c66
commit
1b39994280
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue