Seriously-Simple-Podcasting
Seriously-Simple-Podcasting copied to clipboard
Setting constant `SSP_CPT_PODCAST` to a post name other than `podcast` causes plugin settings page to disappear
Describe the bug
On setting SSP_CPT_PODCAST to a value different from 'podcast' causes Settings, Options, Extensions page to disappear because the menu page links are hardcoded to use post_type=podcast and do not consider SSP_CPT_PODCAST value.
To Reproduce Steps to reproduce the behavior:
- Go to wp-config.php, add
define('SSP_CPT_PODCAST', 'hello_podcast'); - Go to wp-admin/plugins.php
- Scroll down to Seriously Simple Podcasting, and click on settings link.
- See error - "Sorry you can't access this page"
Expected behavior Settings page should load properly