When setting the Parent Menu of a Settings Page to a Custom Model Menu Item, the edit URL for the Settings Page is incorrect and results in a 404 error when trying to access the Settings Page.
For instance, I have a custom model named 'Import'. I created a Settings Page named 'Import Settings'. I want to display the 'Import Settings' under the 'Import' menu item. I can select the 'Import' menu item as the Parent Menu. However, when I do so, the edit link is set as: '../wp-admin/import-settings' when it should be set as: '../wp-admin/index.php?page=import-settings'.
Please see the attached images.
https://drive.google.com/file/d/1AwXoLDuqggWFtQCyozxy5uZmj1WqE-tn/view?usp=share_link
https://drive.google.com/file/d/19LXcMAJRffKnFRXPobDLHoseQJlG19pu/view?usp=share_link
Best Regards,
Ryan