Open acosmin opened 3 years ago
@acosmin Ripping that out via the generator was done at the explicit request of the wp.org Theme team, so yes, if you now want to start allowing it, the generator will need to be updated. PRs welcome.
Sure :) could you please point me to the Generator repo?
I think I found it :) https://github.com/TGMPA/TGM-Plugin-Activation/blob/gh-pages/js/tgmpa.js I'll take it for a spin
@jrfnl We've started allowing
add_menu_page
&add_submenu_page
in themes on wp.org and we've noticed thatparent_slug
uses onlyadd_theme_page
via TGMPA Generator. This piece of code https://github.com/TGMPA/TGM-Plugin-Activation/blob/2d34264f4fdcfcc60261d490ff2e689f0c33730c/class-tgm-plugin-activation.php#L740-L742 should be allowed now. I guess the Generator needs to be changed.Thank you!