mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Merge pull request #231 from NikV/patch-1
Fixing require() vs require_once()
This commit is contained in:
commit
f11711f07e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ register_deactivation_hook( __FILE__, array( 'Plugin_Name_Deactivator', 'deactiv
|
|||
* The core plugin class that is used to define internationalization,
|
||||
* dashboard-specific hooks, and public-facing site hooks.
|
||||
*/
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name.php';
|
||||
require plugin_dir_path( __FILE__ ) . 'includes/class-plugin-name.php';
|
||||
|
||||
/**
|
||||
* Begins execution of the plugin.
|
||||
|
|
Loading…
Reference in a new issue