We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29606eb commit 02b923bCopy full SHA for 02b923b
src/WPSettings.php
@@ -197,7 +197,7 @@ public function should_make_tabs()
197
198
public function get_url()
199
{
200
- if (strpos($this->parent_slug, '.php') !== false && $this->parent_slug) {
+ if ($this->parent_slug && strpos($this->parent_slug, '.php') !== false) {
201
return \add_query_arg('page', $this->slug, \admin_url($this->parent_slug));
202
}
203
0 commit comments