We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4fbff commit 235a4dfCopy full SHA for 235a4df
1 file changed
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