We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f109c10 + 235a4df commit a95cea6Copy full SHA for a95cea6
php/class-admin.php
@@ -298,7 +298,7 @@ public function render() {
298
$page = $this->get_param( 'current_section' );
299
}
300
301
- $this->set_param( 'active_slug', $page['slug'] );
+ $this->set_param( 'active_slug', isset( $page['slug'] ) ? $page['slug'] : '' );
302
$setting = $this->init_components( $page, $screen->id );
303
$this->component = $setting->get_component();
304
$template = $this->section;
0 commit comments