Skip to content

Commit

Permalink
Add Whitelist HTML submodule and load it for use in the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dashaluna committed Jun 16, 2016
1 parent 494fb29 commit 544eb11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "backdrop"]
path = backdrop
url = https://github.com/humanmade/Backdrop.git
[submodule "whitelist-html"]
path = whitelist-html
url = git@github.com:humanmade/whitelist-html.git
3 changes: 2 additions & 1 deletion classes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ protected function includes() {

require_once( HMBKP_PLUGIN_PATH . 'classes/class-notices.php' );

// Load the admin menu
// Load Whitelist HTML submodule and admin required functions.
require_once( HMBKP_PLUGIN_PATH . 'whitelist-html/whitelist-html.php' );
require_once( HMBKP_PLUGIN_PATH . 'admin/menu.php' );
require_once( HMBKP_PLUGIN_PATH . 'admin/actions.php' );

Expand Down
1 change: 1 addition & 0 deletions whitelist-html
Submodule whitelist-html added at 3d5948

0 comments on commit 544eb11

Please sign in to comment.