-
Notifications
You must be signed in to change notification settings - Fork 427
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
[Develop] Turn parent menu slug into a config variable #221
Conversation
@thomasgriffin Any feedback on this ? |
This looks great, would be awesome if it can be integrated. Thanks! |
@senlin Glad you like it ;-) @thomasgriffin I kind of have the feeling that you may be hesitant about this PR because it builds on the changes from @zackkatz's PR #188 which were merged in I think I can provide a solution. A while ago, I send in PR #219 with some changes to allow for overloading of the class. If that PR would be merged, we can then leave the 'old' method in the base class which would be used by themes. I might need to still make some small changes to the code in #219 to make this more intuitive for less experienced programmers, but would like your opinion before I spend a lot (more) time on something which may never get accepted. So what do you think ? |
…oading anticipating PR TGMPA#219
…ion into develop-parent-slug-in-config Conflicts: class-tgm-plugin-activation.php
Also: the current getting of the admin page with the code in the |
+1 for abstracting 0 (but willing to be swayed) for making them properties as well. What's the reasoning there? To be able to subclass? (If so, how does that handle with the main class being a singleton?) |
@GaryJones I followed the logic which was already in place - the |
…ion into develop-parent-slug-in-config
+1 for being consistent then :-) |
99f6481
to
4a3c2c7
Compare
Related #65 |
Allows for setting of the parent menu item from the $config array