settings: forgot to commit new args
This commit is contained in:
parent
d1088756c8
commit
fba9948b9d
1 changed files with 6 additions and 3 deletions
|
@ -108,14 +108,17 @@ class Settings_Page {
|
||||||
|
|
||||||
$submenu_options[$tab]['active'] = true;
|
$submenu_options[$tab]['active'] = true;
|
||||||
|
|
||||||
|
$args = array(
|
||||||
|
'slug' => settings_slug,
|
||||||
|
'options' => $submenu_options,
|
||||||
|
);
|
||||||
|
|
||||||
switch ( $tab ) {
|
switch ( $tab ) {
|
||||||
case 'general':
|
case 'general':
|
||||||
\load_template( ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR . 'templates/settings-general.php' , true, $submenu_options );
|
\load_template( ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR . 'templates/settings-general.php' , true, $args );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
\load_template( ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR . 'templates/settings-extractor.php', true, $submenu_options );
|
\load_template( ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR . 'templates/settings-extractor.php', true, $args );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue