Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small change needed for Top menus. #63

Open
StonehengeCreations opened this issue Jan 30, 2018 · 0 comments
Open

Small change needed for Top menus. #63

StonehengeCreations opened this issue Jan 30, 2018 · 0 comments
Assignees

Comments

@StonehengeCreations
Copy link

When creating a Top level menu you get an error:
Notice: Undefined index: in/wp-content/plugins/Admin-Page-Class-master/admin-page-class/admin-page-class.php on line 277

In the current version of Wordpress the "top" was dropped, I guess. Deleting the substring corrects the error.
Original line 277:
$this->Top_Slug = $args['menu']['top'];

Edited and working line 277:
$this->Top_Slug = $args['menu'];

Sorry! Completely new to contributing to Github, so I haven't figured out how to add the edited file yet.. ;-)

@bainternet bainternet self-assigned this May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants