wordpress-sdk
wordpress-sdk copied to clipboard
Freemius issue with menu settings
Actual Behavior:
-
What is the issue? (*)
When running codeception acceptance testing, the settings page registered under my cpt menu shows as "You do not have access".$I->amOnAdminPage('edit.php?post_type=helpie_kb_plugin&page=helpie-kb-settings');
And this only happens when I have the menu settings set in fs_dynamic_init() like so
'menu' => array( 'slug' => 'edit.php?post_type=helpie_kb_plugin', 'account' => false, 'support' => false, ),
-
What is the expected behavior?
While testing the site manually this problem is not there, but even in the codecept test it works good without freemius and that too without just the menu option.
Is there something Freemius does to the menu items before and after the page loads? Maybe with javascript?
Versions: (*)
-
Freemius SDK Version:
2.1.3 -
WordPress Version:
latest ( 4.9.8 ) -
PHP Version:
7.1.16