WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] Request: check for ability to use PHP before showing snippets (2 posts)

  1. Jason Lemahieu (MadtownLems)
    Member
    Posted 1 year ago #

    Heya!

    In the form for adding/editing a slideshow, there are two parts right now that give PHP snippets. With the rise of multisite networks, and other role/capability environments, I think it's a really nice feature to wrap any PHP snippet output in code such as the following:

    if (current_user_can('edit_themes')) { /* php snippet examples here */ }

    This way, people who can actually use php on the server get to see the message, and those who don't have that right aren't confused.

    Thanks for considering this for a future release. Cheers

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Thanks for the suggestion and the clear explanation, I understand why it could be confusing. The PHP snippet will be hidden from lower-level-users in the release of version 2.1.19.

    Best regards,
    Stefan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.