• Resolved adeleon

    (@adeleon)


    Im trying to use wp_get_current_user()->roles function to control the access to some pages but the plugin changes & gt; character

    any idea?

    Regards;

    • This topic was modified 9 years, 5 months ago by adeleon.
    • This topic was modified 9 years, 5 months ago by adeleon.
Viewing 1 replies (of 1 total)
  • Plugin Author Raam Dev

    (@raamdev)

    @adeleon Make sure that you’re not using the Visual mode when adding PHP code. You should always use the Text mode editor to avoid those characters from being converted.

    I just tested $current_user->user_login with the latest version of ezPHP (v160128) and WordPress v4.7 and the > did not get converted to & gt;:

    • This reply was modified 9 years, 5 months ago by Raam Dev.
Viewing 1 replies (of 1 total)

The topic ‘change characters -> by — gt;’ is closed to new replies.