Skip to:
Content
Pages
Categories
Search
Top
Bottom

esc_attr on tags


  • Marcella
    Participant

    @marcella1981

    I’ve been using the activity post form quite frequently and noticed that html tags aren’t escaped when inside code blocks.

    Using esc_attr on bp_get_activity_content_body() works, but I only need tags between code blocks escaped. Specifically HTML…

    Anyone have ideas how to achieve this? I’m not so great with the PHPs

  • The topic ‘esc_attr on tags’ is closed to new replies.
Skip to toolbar