WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. David Lingren
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic