Support » Plugin: Post Types Order » Plugin breaks when DISALLOW_FILE_MODS is set to true

  • Resolved Cyrus Collier


    The plugin initialization relies on the user capability “install plugins”. However, if plugin updates are not allowed in the admin by setting the core constant DISALLOW_FILE_MODS to true, the “install plugins” capability will always return false for administrators. I suggest switching to another admin-only capability like “manage_options”, which would be more appropriate for initializing the options page and other actions.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.