WordPress.org

Forums

Achievements for WordPress
[resolved] hard coded post type name (2 posts)

  1. Peter J. Herrel
    Member
    Posted 1 year ago #

    Hi Paul, thanks for the great plugin! I noticed that the post type name is hardcoded in the $parent_slug param of add_submenu_page() (cf. the "Users" and "Supported Plugins" submenus):

    'edit.php?post_type=achievement'

    Should be:

    'edit.php?post_type=' . dpa_get_achievement_post_type()

    https://wordpress.org/plugins/achievements/

  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    Good spot, thanks Peter. I made a bug report at https://github.com/paulgibbs/achievements/issues/132 so I can get this fixed for the next version. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Achievements for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.