File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function __construct() {
20
20
$ hcpp ->add_action ( 'hcpp_csrf_verified ' , [ $ this , 'hcpp_csrf_verified ' ] ); // Initial POST
21
21
$ hcpp ->add_action ( 'hcpp_invoke_plugin ' , [ $ this , 'setup ' ] );
22
22
$ hcpp ->add_action ( 'priv_add_database ' , [ $ this , 'priv_add_database ' ] );
23
- $ hcpp ->add_action ( 'hcpp_render_page ' , [ $ this , 'hcpp_render_page ' ] );
23
+ $ hcpp ->add_action ( 'hcpp_render_body ' , [ $ this , 'hcpp_render_body ' ] );
24
24
}
25
25
26
26
// Intercept form submission to flag database creation
@@ -120,7 +120,7 @@ public function setup( $args ) {
120
120
}
121
121
122
122
// Customize the install page
123
- public function hcpp_render_page ( $ args ) {
123
+ public function hcpp_render_body ( $ args ) {
124
124
global $ hcpp ;
125
125
if ( $ args ['page ' ] !== 'setup_webapp ' ) return $ args ;
126
126
if ( strpos ( $ _SERVER ['REQUEST_URI ' ], '?app=NodeBB ' ) === false ) return $ args ;
You can’t perform that action at this time.
0 commit comments