Seriously-Simple-Podcasting icon indicating copy to clipboard operation
Seriously-Simple-Podcasting copied to clipboard

Setting constant `SSP_CPT_PODCAST` to a post name other than `podcast` causes plugin settings page to disappear

Open UmeshSingla opened this issue 4 years ago • 0 comments

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:

  1. Go to wp-config.php, add define('SSP_CPT_PODCAST', 'hello_podcast');
  2. Go to wp-admin/plugins.php
  3. Scroll down to Seriously Simple Podcasting, and click on settings link.
  4. See error - "Sorry you can't access this page"

Expected behavior Settings page should load properly

UmeshSingla avatar Sep 28 '21 07:09 UmeshSingla