Forums

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

  1. David Lingren
    Member
    Posted 6 months 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.

    http://wordpress.org/extend/plugins/role-scoper/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 6 months ago by David Lingren
  • This topic is not resolved
  • WordPress version: 3.4.2