Role Scoper
Hard-coded restriction on Attachments (1 post)

  1. David Lingren
    Posted 3 years ago #

    My plugin, Media Library Assistant, includes an enhanced Gallery shortcode, [mla_gallery]. The shortcode supports queries for attachments with, for example, a specific tag or category regardless of which post/page they are attached to or even if they are unattached.

    Role Scoper is adding a WHERE clause restriction on post_parent to every query that includes post_type = 'attachment'. This prevents my shortcode from working as desired.

    I can find no way to disable or modify the Role Scoper restriction. How can I configure Role Scoper to allow these queries? Thanks for your help.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Role Scoper
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic