• Resolved ego_ad

    (@ego_ad)


    Hello,
    I have an issue while trying to save the options of my snippets (eg. line numbers, language, etc): the options are saved only for administrators and users, but not for authors (when an author saves, the options always switch back to the previous ones…

    Thank you in advance

    https://wordpress.org/plugins/enlighter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Dear ego_ad,

    thanks for your report! i can confirm this issue.

    WordPress doesn’t allow authors or contributors to post arbitrary html code. All HTML attributes got stripped by WordPress build-in filter functions, including the related enlighter attributes which stores all code settings.

    I will investigate if its possible to hook into WordPress ACL system and add a custom filter which allows users to post these special attributes.

    best regards, Andi

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    I’ve fixed the issue. it will be available in the upcoming v3.1 release.

    you can download the latest 3.1-BETA2 release including the fix from https://github.com/AndiDittrich/WordPress.Enlighter

    Thread Starter ego_ad

    (@ego_ad)

    Hello Andi: great!
    Thank you very much

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    v3.1 is out including the fix 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Snippet option not saving for "authors"’ is closed to new replies.